Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/charleszlu/murmur-info.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharleszlu <c4planted@gmail.com>2019-05-12 15:37:31 +0300
committercharleszlu <c4planted@gmail.com>2019-05-12 15:37:31 +0300
commit3f7b09508561f56a855b1fafc2f91a93300aad80 (patch)
tree27ef7a4fa684871e03a33140c6e757523d5c5b57
parent5b6559bf30b7d92ab50cf2abd48259d60f75f601 (diff)
Changed dockerfilepersonal
-rw-r--r--.gitignore4
-rw-r--r--Dockerfile21
2 files changed, 4 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index 3d2724e..83f56fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
-*~
.*
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod] \ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index 5fd5435..78c161b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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