Skip to content

Commit d5d1e42

Browse files
committed
Remove Apptainer configuration as the defaults are now sensible.
The default Apptainer configuration is now sensible and RAL can run with the defaults. Also the configuration syntax has changed causing the `sed` statement to incorrectly change some config lines
1 parent c479f3d commit d5d1e42

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

docker-c8/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,3 @@ RUN dnf -y update && \
6767

6868
# Create all possible pool accounts
6969
RUN curl -s https://raw.githubusercontent.com/stfc/grid-workernode/master/resources/pool_accounts/create.sh | bash -
70-
71-
# Disable overlay and loop device management in Apptainer
72-
RUN sed -i '/enable overlay/c\enable overlay = no' /etc/apptainer/apptainer.conf && \
73-
sed -i '/enable underlay/c\enable underlay = yes' /etc/apptainer/apptainer.conf && \
74-
sed -i '/max loop devices/c\max loop devices = 0' /etc/apptainer/apptainer.conf && \
75-
# Deny setuid in Apptainer
76-
sed -i '/allow setuid/c\allow setuid = no' /etc/apptainer/apptainer.conf

docker-c9/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,3 @@ RUN dnf -y update && \
6767

6868
# Create all possible pool accounts
6969
RUN curl -s https://raw.githubusercontent.com/stfc/grid-workernode/master/resources/pool_accounts/create.sh | bash -
70-
71-
# Disable overlay and loop device management in Apptainer
72-
RUN sed -i '/enable overlay/c\enable overlay = no' /etc/apptainer/apptainer.conf && \
73-
sed -i '/enable underlay/c\enable underlay = yes' /etc/apptainer/apptainer.conf && \
74-
sed -i '/max loop devices/c\max loop devices = 0' /etc/apptainer/apptainer.conf && \
75-
# Deny setuid in Apptainer
76-
sed -i '/allow setuid/c\allow setuid = no' /etc/apptainer/apptainer.conf

0 commit comments

Comments
 (0)