Commit bad1c968 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

add update-eb-dev.sh

parent 6af7a8d1
Pipeline #88388 passed with stages
in 8 minutes and 49 seconds
...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG} ...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG}
# Allow chaining the user and group id during build time # Allow chaining the user and group id during build time
ARG USER_ID ARG USER_ID
ARG GROUP_ID ARG GROUP_ID
# add EasyBuild-develop.eb # add EasyBuild-develop.eb and update-eb-dev.sh
ADD EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb COPY EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb
COPY update-eb-dev.sh /home/easybuild/update-eb-dev.sh
USER root USER root
RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb
# install pep8, keyring, keyrings.alt, and GitPython # install pep8, keyring, keyrings.alt, and GitPython
......
EB_PYTHON=/usr/bin/python3 eb --force-download --try-software-version $(date '+%Y%m%d') EasyBuild-develop.eb --prefix /scratch --installpath /easybuild && rm -rf /scratch/*
...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG} ...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG}
# Allow chaining the user and group id during build time # Allow chaining the user and group id during build time
ARG USER_ID ARG USER_ID
ARG GROUP_ID ARG GROUP_ID
# add EasyBuild-develop.eb # add EasyBuild-develop.eb and update-eb-dev.sh
ADD EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb COPY EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb
COPY update-eb-dev.sh /home/easybuild/update-eb-dev.sh
USER root USER root
RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb
# install pep8, keyring, keyrings.alt, and GitPython # install pep8, keyring, keyrings.alt, and GitPython
......
EB_PYTHON=/usr/bin/python3 eb --force-download --try-software-version $(date '+%Y%m%d') EasyBuild-develop.eb --prefix /scratch --installpath /easybuild && rm -rf /scratch/*
...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG} ...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG}
# Allow chaining the user and group id during build time # Allow chaining the user and group id during build time
ARG USER_ID ARG USER_ID
ARG GROUP_ID ARG GROUP_ID
# add EasyBuild-develop.eb # add EasyBuild-develop.eb and update-eb-dev.sh
ADD EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb COPY EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb
COPY update-eb-dev.sh /home/easybuild/update-eb-dev.sh
USER root USER root
RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb
# install pep8, keyring, keyrings.alt, and GitPython # install pep8, keyring, keyrings.alt, and GitPython
......
EB_PYTHON=/usr/bin/python3 eb --force-download --try-software-version $(date '+%Y%m%d') EasyBuild-develop.eb --prefix /scratch --installpath /easybuild && rm -rf /scratch/*
...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG} ...@@ -8,8 +8,9 @@ FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG}
# Allow chaining the user and group id during build time # Allow chaining the user and group id during build time
ARG USER_ID ARG USER_ID
ARG GROUP_ID ARG GROUP_ID
# add EasyBuild-develop.eb # add EasyBuild-develop.eb and update-eb-dev.sh
ADD EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb COPY EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb
COPY update-eb-dev.sh /home/easybuild/update-eb-dev.sh
USER root USER root
RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb RUN chown -R easybuild:easybuild /home/easybuild/EasyBuild-develop.eb
# install pep8, keyring, keyrings.alt, and GitPython # install pep8, keyring, keyrings.alt, and GitPython
......
EB_PYTHON=/usr/bin/python3 eb --force-download --try-software-version $(date '+%Y%m%d') EasyBuild-develop.eb --prefix /scratch --installpath /easybuild && rm -rf /scratch/*
...@@ -5,8 +5,9 @@ ARG IMG_NAME=ubuntu-eb-base ...@@ -5,8 +5,9 @@ ARG IMG_NAME=ubuntu-eb-base
ARG IMG_TAG=latest ARG IMG_TAG=latest
# allow CI/CD to change all of the above # allow CI/CD to change all of the above
FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG} FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_REPO}/${IMG_NAME}:${IMG_TAG}
# add EasyBuild-develop.eb # add EasyBuild-develop.eb and update-eb-dev.sh
ADD EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb COPY EasyBuild-develop.eb /home/easybuild/EasyBuild-develop.eb
COPY update-eb-dev.sh /home/easybuild/update-eb-dev.sh
# install pep8 # install pep8
USER root USER root
RUN pip3 install pep8 RUN pip3 install pep8
......
EB_PYTHON=/usr/bin/python3 eb --force-download --try-software-version $(date '+%Y%m%d') EasyBuild-develop.eb --prefix /scratch --installpath /easybuild && rm -rf /scratch/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment