@@ -32,7 +32,6 @@ ARG OPENMS_BRANCH=FVdeploy
3232ARG PORT=8501
3333# GitHub token to download latest OpenMS executable for Windows from Github action artifact.
3434ARG GITHUB_TOKEN
35- ENV GH_TOKEN=${GITHUB_TOKEN}
3635# Streamlit app Gihub user name (to download artifact from).
3736ARG GITHUB_USER=OpenMS
3837# Streamlit app Gihub repository name (to download artifact from).
@@ -90,7 +89,7 @@ RUN mkdir /thirdparty && \
9089 cp -r THIRDPARTY/All/* /thirdparty && \
9190 cp -r THIRDPARTY/Linux/x86_64/* /thirdparty && \
9291 chmod -R +x /thirdparty
93- ENV PATH="/thirdparty/LuciPHOr2:/thirdparty/MSGFPlus:/thirdparty/Sirius:/thirdparty/ ThermoRawFileParser:/thirdparty/Comet:/thirdparty/Fido:/thirdparty/MaRaCluster:/thirdparty/MyriMatch:/thirdparty/OMSSA:/thirdparty/ Percolator:/thirdparty/SpectraST:/thirdparty/XTandem:/thirdparty/crux :${PATH}"
92+ ENV PATH="/thirdparty/LuciPHOr2:/thirdparty/MSGFPlus:/thirdparty/ThermoRawFileParser:/thirdparty/Comet:/thirdparty/Percolator:/thirdparty/Sage :${PATH}"
9493
9594# Build OpenMS and pyOpenMS.
9695FROM setup-build-system AS compile-openms
@@ -190,7 +189,7 @@ service cron start\n\
190189\n \
191190# Start Redis server in background\n \
192191echo "Starting Redis server..."\n \
193- redis-server --daemonize yes --dir /var/lib/redis --appendonly no\n \
192+ redis-server --daemonize yes --dir /var/lib/redis --appendonly no --ignore-warnings ARM64-COW-BUG \n \
194193\n \
195194# Wait for Redis to be ready\n \
196195until redis-cli ping > /dev/null 2>&1; do\n \
@@ -250,11 +249,15 @@ RUN mamba run -n streamlit-env python hooks/hook-analytics.py
250249RUN jq '.online_deployment = true' settings.json > tmp.json && mv tmp.json settings.json
251250
252251# Download latest OpenMS App executable as a ZIP file
253- RUN if [ -n "$GH_TOKEN" ]; then \
254- echo "GH_TOKEN is set, proceeding to download the release asset..." ; \
255- gh release download -R ${GITHUB_USER}/${GITHUB_REPO} -p "OpenMS-App.zip" -D /app; \
252+ # Re-declare ARGs needed in this stage (ARGs don't persist across FROM)
253+ ARG GITHUB_TOKEN
254+ ARG GITHUB_USER=OpenMS
255+ ARG GITHUB_REPO=FLASHApp
256+ RUN if [ -n "$GITHUB_TOKEN" ]; then \
257+ echo "Downloading release asset..." ; \
258+ GH_TOKEN="$GITHUB_TOKEN" gh release download -R ${GITHUB_USER}/${GITHUB_REPO} -p "OpenMS-App.zip" -D /app; \
256259 else \
257- echo "GH_TOKEN is not set , skipping the release asset download." ; \
260+ echo "No token , skipping download." ; \
258261 fi
259262
260263
0 commit comments