diff options
| author | Adam Janovsky | 2022-05-27 15:18:10 +0200 |
|---|---|---|
| committer | Adam Janovsky | 2022-05-27 15:18:10 +0200 |
| commit | a3f0bd287971ef9769c9575878090ef8783219af (patch) | |
| tree | fd73e11fe604e706d0d5e5222c2c92d79fd9fd0c | |
| parent | 3f7077f42eac61c6f94211a29c6c984f9d7f79cd (diff) | |
| download | sec-certs-a3f0bd287971ef9769c9575878090ef8783219af.tar.gz sec-certs-a3f0bd287971ef9769c9575878090ef8783219af.tar.zst sec-certs-a3f0bd287971ef9769c9575878090ef8783219af.zip | |
fix docker build
| -rw-r--r-- | Dockerfile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -28,12 +28,8 @@ RUN chown -R ${NB_UID} ${HOME} USER ${USER} WORKDIR ${HOME} -# Download only snapshot of repository -RUN \ - curl -L https://api.github.com/repos/crocs-muni/sec-certs/tarball/main > sec-certs.tar.gz && \ - mkdir sec-certs && \ - tar zxf sec-certs.tar.gz --strip-components=1 --directory sec-certs && \ - rm sec-certs.tar.gz +# Due to setuptools_scm for versioning, we need whole repository with .git +RUN git clone https://github.com/crocs-muni/sec-certs WORKDIR ${HOME}/sec-certs |
