Skip to content

Commit fd0d2af

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 105a072 commit fd0d2af

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

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)