相关疑难解决方法(0)

Docker:在 alpine linux 发行版上安装 python 加密

我对 Docker 和部署周期有点陌生。

我有一个 Django 应用程序,我们想用 uWSGI 将它部署到 docker 容器。实际上部署完美地工作了几个星期,但现在它完全报告错误......

错误接缝与密码学包有关:

build/temp.linux-x86_64-3.6/_openssl.c:52862:10: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
build/temp.linux-x86_64-3.6/_openssl.c: In function '_cffi_f_SSL_set_options':
build/temp.linux-x86_64-3.6/_openssl.c:52895:14: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
   { result = SSL_set_options(x0, x1); }
              ^~~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/_openssl.c:52895:14: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
error: command 'gcc' failed …
Run Code Online (Sandbox Code Playgroud)

uwsgi docker dockerfile alpine-linux python-cryptography

8
推荐指数
2
解决办法
9869
查看次数