mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
bootstrap updates
This commit is contained in:
parent
cba85e0385
commit
091747fa48
12 changed files with 149 additions and 110 deletions
|
|
@ -17,7 +17,7 @@ ARG SSH_PRIVATE_RSA_KEY
|
|||
ENV ENV_SSH_PRIVATE_RSA_KEY=${SSH_PRIVATE_RSA_KEY}
|
||||
|
||||
# Write private key and generate public key
|
||||
RUN if [[ "$ENV_SSH_PRIVATE_RSA_KEY" ]]; then \
|
||||
RUN if ! test -z "${ENV_SSH_PRIVATE_RSA_KEY}"; then \
|
||||
echo -n "-----BEGIN RSA PRIVATE KEY-----" >> /root/.ssh/id_rsa && \
|
||||
echo -n ${ENV_SSH_PRIVATE_RSA_KEY} \
|
||||
| sed 's/-----BEGIN RSA PRIVATE KEY-----//' \
|
||||
|
|
@ -41,7 +41,7 @@ RUN make install
|
|||
RUN rm -f /root/.ssh/id_rsa
|
||||
|
||||
# Deleting pkgs implies that `conda install`
|
||||
# will at have to pull all packages again.
|
||||
# will have to pull all packages again.
|
||||
RUN conda clean --all --yes
|
||||
# Conda docs say that it is not safe to delete pkgs
|
||||
# because there may be symbolic links, so we verify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue