Build both python 3.5 and 2.7 images from the same env
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
FROM alpine:3.5
|
||||
|
||||
RUN apk update
|
||||
RUN apk add --no-cache python3 python3-dev build-base
|
||||
RUN pip3 install --upgrade pip
|
||||
RUN rm -r /root/.cache
|
||||
|
||||
ADD defaultBuildCmd /usr/local/bin/build
|
||||
ADD builder /builder
|
||||
|
||||
EXPOSE 8001
|
||||
Reference in New Issue
Block a user