1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-26 02:04:08 +03:00

Merge branch 'fix/docker-issues-with-ssl' into develop

This commit is contained in:
louistiti 2022-10-23 22:55:04 +08:00
commit 38693e42ef
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
2 changed files with 33 additions and 22 deletions

View File

@ -1,3 +1,9 @@
node_modules/ __pycache__/
bridges/python/src/.venv/* **/dist/*
dist/* **/build/
**/node_modules/
**/tmp/*
**/src/.venv/*
logs/*
*.pyc
.DS_Store

View File

@ -1,4 +1,4 @@
FROM ubuntu:latest FROM ubuntu:20.04
ENV IS_DOCKER true ENV IS_DOCKER true
# Replace shell with bash so we can source files # Replace shell with bash so we can source files
@ -16,6 +16,8 @@ RUN apt-get update && apt-get install --yes -q --no-install-recommends \
git \ git \
wget \ wget \
libssl-dev \ libssl-dev \
openssl \
libz-dev \
zlib1g-dev \ zlib1g-dev \
libbz2-dev \ libbz2-dev \
libreadline-dev \ libreadline-dev \
@ -26,7 +28,10 @@ RUN apt-get update && apt-get install --yes -q --no-install-recommends \
tk-dev libxml2-dev \ tk-dev libxml2-dev \
libxmlsec1-dev \ libxmlsec1-dev \
libffi-dev \ libffi-dev \
liblzma-dev liblzma-dev \
libgdbm-dev \
libnss3-dev \
libc6-dev
# Run the container as an unprivileged user # Run the container as an unprivileged user
RUN groupadd docker && useradd -g docker -s /bin/bash -m docker RUN groupadd docker && useradd -g docker -s /bin/bash -m docker