Przeglądaj źródła

branch for python3 development

tarfeef101 5 lat temu
rodzic
commit
3282b94c4f
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 3 3
      Dockerfile
  2. 1 1
      docker-compose.yaml

+ 3 - 3
Dockerfile

@@ -1,7 +1,7 @@
 # Build tflow cause they suck with version support
-# Define base image, pin at stretch 9.6
+# Define base image, in this case debian stretch w/ python3
 
-FROM debian:9.6-slim
+FROM python:3.6-slim-stretch
 LABEL maintainer="tarfeef101"
 
 # Set to non-interactive mode as container should not be entered
@@ -11,7 +11,7 @@ SHELL ["/bin/bash", "-c"]
 # Install required packages, etc
 RUN apt -y update && \
     apt -y upgrade && \
-    apt -y install curl wget git bzip2 unzip python3 python-dev python-pip python3-dev python3-pip && \
+    apt -y install curl wget git bzip2 unzip && \
     apt purge && \
     apt clean && \
     rm -rf /var/lib/apt/lists/*

+ 1 - 1
docker-compose.yaml

@@ -3,4 +3,4 @@ version: '3'
 services:
   test_multi_stage_tflow:
     build: .
-    image: tflow-test-build
+    image: tflow-test-build-python3