Fix/cleanup container build files
This commit is contained in:
@@ -41,12 +41,17 @@ RUN <<EOF
|
|||||||
chmod +x /etc/warewulf/container_exit.sh
|
chmod +x /etc/warewulf/container_exit.sh
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
COPY <<EOF /etc/warewulf/container_exit.sh
|
COPY <<EOF /etc/warewulf/container_exit.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -x
|
set -x
|
||||||
|
LANG=C
|
||||||
|
LC_CTYPE=C
|
||||||
|
export LANG LC_CTYPE
|
||||||
dnf clean all
|
dnf clean all
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
COPY <<EOF /etc/warewulf/excludes
|
COPY <<EOF /etc/warewulf/excludes
|
||||||
/boot/
|
/boot/
|
||||||
|
/usr/share/GeoIP
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -44,10 +44,14 @@ EOF
|
|||||||
COPY <<EOF /etc/warewulf/container_exit.sh
|
COPY <<EOF /etc/warewulf/container_exit.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -x
|
set -x
|
||||||
|
LANG=C
|
||||||
|
LC_CTYPE=C
|
||||||
|
export LANG LC_CTYPE
|
||||||
dnf clean all
|
dnf clean all
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
COPY <<EOF /etc/warewulf/excludes
|
COPY <<EOF /etc/warewulf/excludes
|
||||||
/boot/
|
/boot/
|
||||||
|
/usr/share/GeoIP
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user