kopia lustrzana https://github.com/jupyterhub/repo2docker
Porównaj commity
3 Commity
601fa25291
...
91d3f150e5
Autor | SHA1 | Data |
---|---|---|
Erik Sundell | 91d3f150e5 | |
Erik Sundell | f121a0d481 | |
Erik Sundell | 57e4b3f687 |
10
Dockerfile
10
Dockerfile
|
@ -4,9 +4,9 @@ FROM alpine:${ALPINE_VERSION}
|
|||
|
||||
RUN apk add --no-cache git python3 python3-dev py3-pip py3-setuptools build-base
|
||||
|
||||
# build wheels in first image
|
||||
ENV VIRTUAL_ENV /opt/venv
|
||||
ENV PATH ${VIRTUAL_ENV}/bin:${PATH}
|
||||
# build wheels in a build stage
|
||||
ARG VIRTUAL_ENV=/opt/venv
|
||||
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}
|
||||
|
||||
RUN python3 -m venv ${VIRTUAL_ENV}
|
||||
|
||||
|
@ -23,8 +23,8 @@ FROM alpine:${ALPINE_VERSION}
|
|||
# install python, git, bash, mercurial
|
||||
RUN apk add --no-cache git git-lfs python3 py3-pip py3-setuptools bash docker mercurial
|
||||
|
||||
ENV VIRTUAL_ENV /opt/venv
|
||||
ENV PATH ${VIRTUAL_ENV}/bin:${PATH}
|
||||
ARG VIRTUAL_ENV=/opt/venv
|
||||
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}
|
||||
|
||||
RUN python3 -m venv ${VIRTUAL_ENV}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue