kopia lustrzana https://github.com/jupyterhub/repo2docker
Restore the hooks directory when building the docker image
rodzic
75c2a24c0c
commit
9e9dd062bc
|
@ -5,7 +5,8 @@ RUN apk add --no-cache git python3 python3-dev
|
|||
|
||||
# build wheels in first image
|
||||
ADD . /tmp/src
|
||||
RUN cd /tmp/src && git clean -xfd && git status
|
||||
# restore the hooks directory so that the repository isn't marked as dirty
|
||||
RUN cd /tmp/src && git clean -xfd && git checkout -- hooks && git status
|
||||
RUN mkdir /tmp/wheelhouse \
|
||||
&& cd /tmp/wheelhouse \
|
||||
&& pip3 install wheel \
|
||||
|
|
Ładowanie…
Reference in New Issue