File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM python:3.11-slim
22
3- ARG FIVE_SAFES_PROFILE_VERSION=five-safes-0.7.3 -beta
3+ ARG FIVE_SAFES_PROFILE_VERSION=five-safes-0.7.4 -beta
44ARG PROFILES_ARCHIVE_URL=https://github.com/eScienceLab/rocrate-validator/archive/refs/tags/${FIVE_SAFES_PROFILE_VERSION}.tar.gz
5+ ARG PY_VER=3.11
56
67# Install required system packages, including git
78RUN apt-get update && apt-get install -y git wget && rm -rf /var/lib/apt/lists/*
@@ -18,7 +19,7 @@ RUN <<EOF_WRF
1819mkdir -p /app/profiles
1920wget -O /tmp/rocrate-validator-profiles.tar.gz "$PROFILES_ARCHIVE_URL"
2021tar -xzf /tmp/rocrate-validator-profiles.tar.gz \
21- -C /app/ profiles \
22+ -C /usr/local/lib/python${PY_VER}/site-packages/rocrate_validator/ profiles/ \
2223 --strip-components=3 \
2324 "rocrate-validator-${FIVE_SAFES_PROFILE_VERSION}/rocrate_validator/profiles/five-safes-crate"
2425rm /tmp/rocrate-validator-profiles.tar.gz
You can’t perform that action at this time.
0 commit comments