Skip to content

Commit

Permalink
Update Docker Setup for Ubuntu 24.04 and iRODS 4.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Dec 11, 2024
1 parent 75e7cd4 commit 4732fcd
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 147 deletions.
2 changes: 1 addition & 1 deletion docker/down.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
docker-compose down "$@"
docker compose down "$@"
33 changes: 6 additions & 27 deletions docker/images/davrods/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
LABEL maintainer="Yoda team <yoda@uu.nl>"

# Network settings
Expand All @@ -7,11 +7,11 @@ EXPOSE 443

# Application settings
ARG TAG=development
ENV IRODS_PACKAGE_VERSION="4.2.12-1~bionic"
ENV APT_REPO_CONFIG="deb [arch=amd64] https://packages.irods.org/apt/ bionic main"
ENV IRODS_PACKAGE_VERSION="4.3.3-0~noble"
ENV APT_REPO_CONFIG="deb [arch=amd64] https://packages.irods.org/apt/ noble main"
ENV APT_IRODS_REPO_SIGNING_KEY_LOC="https://packages.irods.org/irods-signing-key.asc"
ENV DAVRODS_APT_URL="https://github.com/UtrechtUniversity/davrods/releases/download/4.2.12_1.5.1"
ENV DAVRODS_APT_PACKAGE="davrods-4.2.12-1.5.1.deb"
ENV DAVRODS_APT_URL="https://github.com/UtrechtUniversity/davrods/releases/download/4.3.3_1.5.1"
ENV DAVRODS_APT_PACKAGE="davrods-4.3.3-1.5.1.deb"
ENV DEBIAN_FRONTEND="noninteractive"

# Update packages
Expand All @@ -24,7 +24,7 @@ RUN apt-get install -y wget vim
# Install Python 3
# hadolint ignore=DL3033
RUN apt-get install -y gcc python3 python3-dev python3-pip python3-virtualenv \
python3-wheel python3.8-venv
python3-wheel python3.12-venv

# Install and configure Apache
# hadolint ignore=DL3033
Expand All @@ -38,27 +38,6 @@ RUN ln -s /etc/apache2/mods-available/dav_fs.load /etc/apache2/mods-enabled/dav_
RUN ln -s /etc/apache2/mods-available/dav_lock.load /etc/apache2/mods-enabled/dav_lock.load
RUN ln -s /etc/apache2/mods-available/davrods.load /etc/apache2/mods-enabled/davrods.load

# Install iRODS dependencies
RUN apt-get -y install aptitude libboost-locale-dev libpython2-stdlib libpython2.7-minimal \
libpython2.7-stdlib \
python-is-python2 python-six python2 python2-minimal python2.7 python2.7-minimal \
python-certifi python-chardet python-idna python-pkg-resources python-setuptools
ENV PY_URLLIB_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/p/python-urllib3"
ENV PY_URLLIB_FILENAME="python-urllib3_1.22-1ubuntu0.18.04.2_all.deb"
ENV PY_REQUESTS_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/r/requests"
ENV PY_REQUESTS_FILENAME="python-requests_2.18.4-2ubuntu0.1_all.deb"
ENV OPENSSL_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0"
ENV OPENSSL_FILENAME="libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb"
RUN wget -q ${PY_URLLIB_PREFIX}/${PY_URLLIB_FILENAME} && \
wget -q ${PY_REQUESTS_PREFIX}/${PY_REQUESTS_FILENAME} && \
wget -q ${OPENSSL_PREFIX}/${OPENSSL_FILENAME} && \
dpkg -i ${PY_URLLIB_FILENAME} && \
dpkg -i ${PY_REQUESTS_FILENAME} && \
dpkg -i ${OPENSSL_FILENAME} && \
rm ${PY_URLLIB_FILENAME} && \
rm ${PY_REQUESTS_FILENAME} && \
rm ${OPENSSL_FILENAME}

# Install iRODS components: iCommands and runtime
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3033
Expand Down
23 changes: 13 additions & 10 deletions docker/images/yoda_eus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
# FROM --platform=linux/amd64 ubuntu:24.04
LABEL maintainer="Yoda team <yoda@uu.nl>"

# Application settings
ARG TAG=development
ENV YODA_EUS_REPO "https://github.com/UtrechtUniversity/yoda-external-user-service.git"
ENV YODA_EUS_BRANCH "$TAG"
ENV YODA_PORTAL_REPO "https://github.com/UtrechtUniversity/yoda-portal.git"
ENV YODA_PORTAL_BRANCH "$TAG"
ENV YODA_EUS_REPO="https://github.com/UtrechtUniversity/yoda-external-user-service.git"
ENV YODA_EUS_BRANCH="$TAG"
ENV YODA_PORTAL_REPO="https://github.com/UtrechtUniversity/yoda-portal.git"
ENV YODA_PORTAL_BRANCH="$TAG"
ENV DEBIAN_FRONTEND="noninteractive"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand All @@ -19,19 +20,19 @@ RUN apt-get update

# Install common tools (PostgreSQL is needed for psql commands in init script)
# hadolint ignore=DL3033
RUN apt-get install -y wget git netcat gnupg vim
RUN apt-get install -y wget git netcat-traditional gnupg vim

# Install PostgreSQL 15 for checks whether database container is up, as well as troubleshooting
# hadolint ignore=DL3033
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN apt-get update
RUN apt-get -y install postgresql-15 python3-psycopg2 acl
RUN apt-get -y install postgresql-15 libpq-dev python3-psycopg2 acl

# Install Python 3
# hadolint ignore=DL3033
RUN apt-get install -y gcc python3 python3-dev python3-pip python3-virtualenv \
python3-wheel python3.8-venv virtualenv
python3-wheel python3.12-venv virtualenv

# Install and configure Apache
# hadolint ignore=DL3033
Expand All @@ -57,7 +58,9 @@ RUN useradd yodadeployment && \
COPY yoda-external-user-service-vhost.conf /etc/apache2/sites-available/003-yoda-eus-vhost.conf
RUN ln -s /etc/apache2/sites-available/003-yoda-eus-vhost.conf /etc/apache2/sites-enabled/003-yoda-eus-vhost.conf
RUN virtualenv --python /usr/bin/python3 /var/www/extuser/yoda-external-user-service/venv && \
/var/www/extuser/yoda-external-user-service/venv/bin/pip3 install --no-cache-dir pip==23.0.1 && \
/var/www/extuser/yoda-external-user-service/venv/bin/pip3 install --no-cache-dir pip==24.3.1 && \
/var/www/extuser/yoda-external-user-service/venv/bin/pip3 install --no-cache-dir virtualenv==20.28.0 && \
/var/www/extuser/yoda-external-user-service/venv/bin/python3 -m virtualenv /var/www/extuser/yoda-external-user-service/venv && \
/var/www/extuser/yoda-external-user-service/venv/bin/pip3 install --no-cache-dir /var/www/extuser/yoda-external-user-service

# Make copy of data on volumes that can optionally be bind mounted, so the container init script
Expand Down
105 changes: 27 additions & 78 deletions docker/images/yoda_irods_icat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
LABEL maintainer="Yoda team <yoda@uu.nl>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Application settings
ARG TAG=development
ENV IRODS_VERSION "4.2.12-1~bionic"
ENV IRODS_PREP_VERSION "4.2.12.0-1~bionic"
ENV IRODS_INDEX_VERSION "4.2.12.0-1~bionic"
ENV IRODS_MSVC_IRODS_VERSION "4.2.12"
ENV IRODS_VERSION "4.3.3-0~noble"
ENV IRODS_INDEX_PREP_VERSION "4.3.3.0-0+4.3.3~noble"
ENV IRODS_MSVC_IRODS_VERSION "4.3.3"
ENV IRODS_SUDO_MSVC_VERSION "1.0.0"
ENV IRODS_UU_MSVC_VERSION "1.2.0"
ENV IRODS_UU_MSVC_VERSION_RELEASE "0"
ENV APT_REPO_CONFIG="deb [arch=amd64] https://packages.irods.org/apt/ bionic main"
ENV APT_REPO_CONFIG="deb [arch=amd64] https://packages.irods.org/apt/ noble main"
ENV APT_IRODS_REPO_SIGNING_KEY_LOC="https://packages.irods.org/irods-signing-key.asc"
ENV YODA_RULESET_REPO "https://github.com/UtrechtUniversity/yoda-ruleset.git"
ENV YODA_RULESET_BRANCH "$TAG"
ENV YODA_RULESET_BRANCH="$TAG"
ENV PRE_BUILD_RULESET_DEPENDENCIES "yes"
ENV DEBIAN_FRONTEND="noninteractive"

Expand All @@ -39,17 +38,12 @@ RUN apt-get update

# Install common tools
# hadolint ignore=DL3033
RUN apt-get install -y wget git sudo netcat gcc vim
RUN apt-get install -y wget git sudo netcat-traditional gcc vim

# Install Python 2.7
RUN apt-get install -y python2 python2-dev && \
wget -q -O /usr/local/bin/get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py && \
/usr/bin/python2 /usr/local/bin/get-pip.py

# Install Python 3.8
# Install Python 3.12
# hadolint ignore=DL3033
RUN apt-get install -y gcc python3 python3-dev python3-pip python3-virtualenv \
python3-wheel python3.8-venv
python3-wheel python3.12-venv

# Upload PAM Python library
COPY stage/pam_python.so /tmp/pam_python.so
Expand All @@ -58,44 +52,12 @@ RUN install -m 0755 -o root -g root /tmp/pam_python.so /usr/lib/x86_64-linux-gn
# Install PostgreSQL 15 for ODBC drivers, checks whether database container is up, as well as troubleshooting
# hadolint ignore=DL3033
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN apt-get update
RUN apt-get -y install postgresql-15 unixodbc python3-psycopg2 acl
RUN apt-get -y install postgresql-15 unixodbc unixodbc-dev odbcinst python3-psycopg2 acl
COPY odbc-settings.txt /tmp/odbc-settings.txt
RUN odbcinst -i -d -r < /tmp/odbc-settings.txt

# Install iRODS dependencies
RUN apt-get -y install aptitude libboost-locale-dev libpython2-stdlib libpython2.7-minimal \
libpython2.7-stdlib \
python-is-python2 python-six python2 python2-minimal python2.7 python2.7-minimal \
python-certifi python-chardet python-idna python-pkg-resources python-setuptools \
python-funcsigs python-mock python-pbr libodbc1
ENV PY_URLLIB_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/p/python-urllib3"
ENV PY_URLLIB_FILENAME="python-urllib3_1.22-1ubuntu0.18.04.2_all.deb"
ENV PY_REQUESTS_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/r/requests"
ENV PY_REQUESTS_FILENAME="python-requests_2.18.4-2ubuntu0.1_all.deb"
ENV OPENSSL_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0"
ENV OPENSSL_FILENAME="libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb"
ENV PY_JSONSCHEMA_PREFIX="http://security.ubuntu.com/ubuntu/pool/main/p/python-jsonschema"
ENV PY_JSONSCHEMA_FILENAME="python-jsonschema_2.3.0-1build1_all.deb"
ENV PY_ODBC_PREFIX="http://security.ubuntu.com/ubuntu/pool/universe/p/pyodbc"
ENV PY_ODBC_FILENAME="python-pyodbc_4.0.17-1_amd64.deb"
RUN wget -q ${PY_URLLIB_PREFIX}/${PY_URLLIB_FILENAME} && \
wget -q ${PY_REQUESTS_PREFIX}/${PY_REQUESTS_FILENAME} && \
wget -q ${OPENSSL_PREFIX}/${OPENSSL_FILENAME} && \
wget -q ${PY_JSONSCHEMA_PREFIX}/${PY_JSONSCHEMA_FILENAME} && \
wget -q ${PY_ODBC_PREFIX}/${PY_ODBC_FILENAME} && \
dpkg -i ${PY_URLLIB_FILENAME} && \
dpkg -i ${PY_REQUESTS_FILENAME} && \
dpkg -i ${OPENSSL_FILENAME} && \
dpkg -i ${PY_JSONSCHEMA_FILENAME} && \
dpkg -i ${PY_ODBC_FILENAME} && \
rm ${PY_URLLIB_FILENAME} && \
rm ${PY_REQUESTS_FILENAME} && \
rm ${OPENSSL_FILENAME} && \
rm ${PY_JSONSCHEMA_FILENAME} && \
rm ${PY_ODBC_FILENAME}

# Install iRODS
# hadolint ignore=DL3033,DL3047
RUN useradd -d /var/lib/irods irods && \
Expand All @@ -106,13 +68,11 @@ RUN useradd -d /var/lib/irods irods && \
do echo "Installing package ${package} and its dependencies ..."; \
apt-get -y install "$package=${IRODS_VERSION}" ; \
done && \
for package in irods-rule-engine-plugin-indexing irods-rule-engine-plugin-elasticsearch irods-rule-engine-plugin-document-type; \
for package in irods-rule-engine-plugin-indexing irods-rule-engine-plugin-elasticsearch; \
do echo "Installing package ${package} and its dependencies ..."; \
apt-get -y install "$package=${IRODS_INDEX_VERSION}"; \
done && \
apt-get -y install "irods-rule-engine-plugin-python=${IRODS_PREP_VERSION}" && \
wget https://yoda.uu.nl/irods-patches/libirods_server.so.4.2.12.ubuntu2004 && \
install -m 0644 libirods_server.so.4.2.12.ubuntu2004 /usr/lib/libirods_server.so.4.2.12
apt-get -y install "$package=${IRODS_INDEX_PREP_VERSION}"; \
done


# Install iRODS microservices for Yoda
# hadolint ignore=DL3033
Expand All @@ -135,20 +95,10 @@ RUN install -m 0644 -o root -g root /tmp/irods_completion.sh /etc/profile.d/irod

# Set up PAM authentication
# hadolint ignore=DL3033
RUN python -m easy_install --user https://github.com/UtrechtUniversity/pysqlcipher3/releases/download/v1.2.1/pysqlcipher3-1.2.1-py2.7-linux-x86_64.egg
COPY is-user-external.sh /tmp/is-user-external.sh
COPY external-auth.py /tmp/external-auth.py
RUN install -m 0750 -o root -g irods /tmp/is-user-external.sh /usr/local/bin/is-user-external.sh && \
install -m 0750 -o root -g irods /tmp/external-auth.py /usr/local/bin/external-auth.py && \
wget -q https://yoda.uu.nl/packages-irods-4.2.12-focal/sqlcipher4.deb && \
dpkg -i sqlcipher4.deb && \
rm sqlcipher4.deb && \
wget -q https://yoda.uu.nl/packages-irods-4.2.12-focal/libsqlcipher4.deb && \
dpkg -i libsqlcipher4.deb && \
rm libsqlcipher4.deb && \
wget -q https://yoda.uu.nl/packages-irods-4.2.12-focal/libsqlcipher4-dev.deb && \
dpkg -i libsqlcipher4-dev.deb && \
rm libsqlcipher4-dev.deb && \
chmod 04755 /usr/sbin/irodsPamAuthCheck
COPY irods.pam /tmp/irods.pam
RUN install -m 0644 /tmp/irods.pam /etc/pam.d/irods
Expand All @@ -161,19 +111,18 @@ COPY irods_environment.json /var/lib/irods/.irods/irods_environment.json
# Install and configure rulesets
RUN git clone -b ${YODA_RULESET_BRANCH} ${YODA_RULESET_REPO} /etc/irods/yoda-ruleset
# hadolint ignore=DL3004
RUN sudo -u irods python -m pip --no-cache-dir install --user pip==20.2.4 && \
sudo -u irods python -m pip --no-cache-dir install --user setuptools==44.1.1 && \
sudo -u irods python -m pip --no-cache-dir install --user python-irodsclient==2.2.0 && \
sudo -u irods python -m pip --no-cache-dir install --user -r /etc/irods/yoda-ruleset/requirements.txt && \
sudo -u irods python -m easy_install --user https://github.com/UtrechtUniversity/pysqlcipher3/releases/download/v1.2.1/pysqlcipher3-1.2.1-py2.7-linux-x86_64.egg && \
sudo -u irods python3 -m pip install --user jsonschema==4.17.3 && \
sudo -u irods python3 -m pip install --user python-irodsclient==2.2.0 && \
sudo -u irods python3 -m pip install --user psutil==5.9.5
RUN sudo -u irods python3 -m pip --no-cache-dir install --user --break-system-packages pip==24.3.1 && \
sudo -u irods python3 -m pip --no-cache-dir install --user --break-system-packages -r /etc/irods/yoda-ruleset/requirements.txt && \
sudo -u irods python3 -m pip install --user --break-system-packages python-irodsclient==2.2.0 && \
sudo -u irods python3 -m pip install --user --break-system-packages psutil==6.1.0
COPY core.py.template /etc/irods/core.py
COPY core.re.template /etc/irods/core.re
RUN for script in scheduled-copytovault.sh admin-remove-orphan-vault-if-empty.sh admin-vaultactions.sh \
admin-vaultingest.sh enable-indexing.sh disable-indexing.sh \
admin-datarequestactions.sh admin-datarequest-temp-write-permission.sh ; \
RUN apt-get -y install sqlcipher libsqlcipher1 libsqlcipher-dev
RUN for script in admin-scheduled-copytovault.sh admin-remove-orphan-vault-if-empty.sh admin-vaultactions.sh \
admin-vaultingest.sh admin-datarequestactions.sh admin-datarequest-temp-write-permission.sh ; \
do install -m 0755 /etc/irods/yoda-ruleset/tools/admin/${script} /var/lib/irods/msiExecCmd_bin/${script} ; \
done
RUN for script in enable-indexing.sh disable-indexing.sh; \
do install -m 0755 /etc/irods/yoda-ruleset/tools/${script} /var/lib/irods/msiExecCmd_bin/${script} ; \
done && \
/etc/irods/yoda-ruleset/tools/setup_tokens.sh /etc/irods/yoda-ruleset/accesstokens.db test
Expand All @@ -195,9 +144,9 @@ RUN chown -R irods:irods /var/lib/irods /etc/irods
# Pre-build ruleset dependencies
RUN test "$PRE_BUILD_RULESET_DEPENDENCIES" = "yes" && git clone --branch "$YODA_RULESET_BRANCH" "$YODA_RULESET_REPO" /var/lib/irods/yoda-ruleset
# hadolint ignore=DL3004
RUN test "$PRE_BUILD_RULESET_DEPENDENCIES" = "yes" && sudo -u irods pip2 install --user attrs==21.4.0
RUN test "$PRE_BUILD_RULESET_DEPENDENCIES" = "yes" && sudo -u irods pip3 install --user --break-system-packages attrs==24.2.0
# hadolint ignore=DL3004
RUN test "$PRE_BUILD_RULESET_DEPENDENCIES" = "yes" && sudo -u irods pip2 install --user -r /var/lib/irods/yoda-ruleset/requirements.txt
RUN test "$PRE_BUILD_RULESET_DEPENDENCIES" = "yes" && sudo -u irods pip3 install --user --break-system-packages -r /var/lib/irods/yoda-ruleset/requirements.txt

# Create test accounts
# hadolint ignore=SC2016
Expand Down
17 changes: 10 additions & 7 deletions docker/images/yoda_irods_icat/irods-icat-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ fi

# Download test vault and iCAT data
before_update "Downloading data"
mkdir /download
if [ ! -d /download ]
then
mkdir /download
fi
wget -q "https://yoda.uu.nl/yoda-docker/${DATA_VERSION}.vault.tar.gz" -O "/download/${DATA_VERSION}.vault.tar.gz"
progress_update "Downloaded vault test data."
wget -q "https://yoda.uu.nl/yoda-docker/${DATA_VERSION}.icat.sql.gz" -O "/download/${DATA_VERSION}.icat.sql.gz"
Expand Down Expand Up @@ -83,11 +86,11 @@ progress_update "iCAT database data loaded"
INSTALL_TIMESTAMP=$(date +'%Y-%m-%dT%H:%M:%S.000000')
cat > /var/lib/irods/VERSION.json << VERSION
{
"catalog_schema_version": 8,
"catalog_schema_version": 8,
"commit_id": "2ed549ca7fe455aaa7755becc6c14b233dcbc0b4",
"configuration_schema_version": 3,
"installation_time": "$INSTALL_TIMESTAMP",
"irods_version": "4.2.12"
"configuration_schema_version": 3,
"installation_time": "$INSTALL_TIMESTAMP",
"irods_version": "4.3.3"
}
VERSION
chown irods:irods /var/lib/irods/VERSION.json
Expand Down Expand Up @@ -131,8 +134,8 @@ make install
progress_update "Ruleset updated"

before_update "Updating ruleset dependencies"
sudo -u irods pip2 install --user attrs==21.4.0
sudo -u irods pip2 install --user -r /etc/irods/yoda-ruleset/requirements.txt
sudo -u irods pip3 install --user --break-system-packages attrs==24.2.0
sudo -u irods pip3 install --user --break-system-packages -r /etc/irods/yoda-ruleset/requirements.txt
progress_update "Ruleset dependencies updated"

touch /container_initialized
Expand Down
8 changes: 4 additions & 4 deletions docker/images/yoda_portal/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
LABEL maintainer="Yoda team <yoda@uu.nl>"

# Application settings
ARG TAG=development
ENV YODA_PORTAL_REPO "https://github.com/UtrechtUniversity/yoda-portal.git"
ENV YODA_PORTAL_REPO="https://github.com/UtrechtUniversity/yoda-portal.git"
ENV YODA_PORTAL_BRANCH="$TAG"
ENV DEBIAN_FRONTEND="noninteractive"

Expand All @@ -21,7 +21,7 @@ RUN apt-get install -y wget git vim
# Install Python 3
# hadolint ignore=DL3033
RUN apt-get install -y gcc python3 python3-dev python3-pip python3-virtualenv \
python3-wheel python3.8-venv virtualenv
python3-wheel python3.12-venv virtualenv

# Install and configure Apache
# hadolint ignore=DL3033
Expand Down Expand Up @@ -52,7 +52,7 @@ RUN mkdir -p /var/www/yoda/config && \
COPY yoda-portal-vhost.conf /etc/apache2/sites-available/001-yoda-portal-vhost.conf
RUN ln -s /etc/apache2/sites-available/001-yoda-portal-vhost.conf /etc/apache2/sites-enabled/001-yoda-portal-vhost.conf
RUN virtualenv --python /usr/bin/python3 /var/www/yoda/venv && \
/var/www/yoda/venv/bin/pip3 install --no-cache-dir pip==23.0.1 && \
/var/www/yoda/venv/bin/pip3 install --no-cache-dir pip==24.3.1 && \
/var/www/yoda/venv/bin/pip3 install --no-cache-dir -r /var/www/yoda/requirements.txt

# Make copy of data on volumes that can optionally be bind mounted, so the container init script
Expand Down
Loading

0 comments on commit 4732fcd

Please sign in to comment.