diff options
author | charleszlu <c4planted@gmail.com> | 2019-05-12 15:37:31 +0300 |
---|---|---|
committer | charleszlu <c4planted@gmail.com> | 2019-05-12 15:37:31 +0300 |
commit | 3f7b09508561f56a855b1fafc2f91a93300aad80 (patch) | |
tree | 27ef7a4fa684871e03a33140c6e757523d5c5b57 | |
parent | 5b6559bf30b7d92ab50cf2abd48259d60f75f601 (diff) |
Changed dockerfilepersonal
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Dockerfile | 21 |
2 files changed, 4 insertions, 21 deletions
@@ -1,2 +1,4 @@ -*~ .* +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod]
\ No newline at end of file @@ -1,24 +1,5 @@ -FROM python:3.7-alpine +FROM goozler/zeroc_ice_python -# zeroc-ice -ARG ICE_VERSION=3.7.2 -RUN set -ex \ - && apk add --no-cache \ - libstdc++ \ - openssl-dev \ - && apk add --no-cache --virtual .build-deps \ - bzip2-dev \ - g++ \ - && pip install --global-option=build_ext --global-option="-D__USE_UNIX98" zeroc-ice==${ICE_VERSION} \ - && apk del .build-deps \ - && find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests \) \) \ - -o \ - \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \ - \) -exec rm -rf '{}' +; - -# SSH server and bash RUN apk --update add --upgrade --no-cache openssh bash COPY entrypoint.sh /entrypoint.sh |