Skip to content

Commit ae4d227

Browse files
committed
The five-safes profile is now baked into the default directory. Also, now the five-safes profile imported contains the fix of the log import.
1 parent 20a830f commit ae4d227

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile.fivesafes-profile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM 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
44
ARG 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
78
RUN apt-get update && apt-get install -y git wget && rm -rf /var/lib/apt/lists/*
@@ -18,7 +19,7 @@ RUN <<EOF_WRF
1819
mkdir -p /app/profiles
1920
wget -O /tmp/rocrate-validator-profiles.tar.gz "$PROFILES_ARCHIVE_URL"
2021
tar -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"
2425
rm /tmp/rocrate-validator-profiles.tar.gz

0 commit comments

Comments
 (0)