From 5be43e6143d3ea95eecc032114b91781e4056a74c9e72eadd724a8b6d06e9ad5 Mon Sep 17 00:00:00 2001 From: Jeff Mahoney Date: Thu, 9 May 2024 13:15:58 -0400 Subject: [PATCH] Rename Containerfile to Dockerfile --- Containerfile | 9 --------- Dockerfile | 10 +++++++++- 2 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 Containerfile mode change 120000 => 100644 Dockerfile diff --git a/Containerfile b/Containerfile deleted file mode 100644 index f6e8013..0000000 --- a/Containerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM bci-base:15.5 -RUN zypper --non-interactive install -y radvd -ENV RADVD_OPTIONS="-C /etc/radvd.conf --logmethod stderr" -COPY ./container /container -CMD /container/scripts/entrypoint.sh - -LABEL INSTALL="/usr/bin/podman run --env IMAGE=IMAGE --rm --privileged --pid host -v /:/host -v /run:/run:rslave -v /sys/fs:/sys/fs:ro IMAGE /container/scripts/label-install" -LABEL UNINSTALL="/usr/bin/podman run --rm --privileged --pid host -v /run:/run:rslave -v /:/host:shared IMAGE /container/scripts/label-uninstall" -LABEL RUN="/usr/bin/podman run --replace --name NAME IMAGE --env RADVD_OPTIONS=RADVD_OPTIONS -v /etc/radvd.conf:/etc/radvd.conf:ro /container/scripts/entrypoint.sh" diff --git a/Dockerfile b/Dockerfile deleted file mode 120000 index dd75208..0000000 --- a/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -Containerfile \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f6e8013 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM bci-base:15.5 +RUN zypper --non-interactive install -y radvd +ENV RADVD_OPTIONS="-C /etc/radvd.conf --logmethod stderr" +COPY ./container /container +CMD /container/scripts/entrypoint.sh + +LABEL INSTALL="/usr/bin/podman run --env IMAGE=IMAGE --rm --privileged --pid host -v /:/host -v /run:/run:rslave -v /sys/fs:/sys/fs:ro IMAGE /container/scripts/label-install" +LABEL UNINSTALL="/usr/bin/podman run --rm --privileged --pid host -v /run:/run:rslave -v /:/host:shared IMAGE /container/scripts/label-uninstall" +LABEL RUN="/usr/bin/podman run --replace --name NAME IMAGE --env RADVD_OPTIONS=RADVD_OPTIONS -v /etc/radvd.conf:/etc/radvd.conf:ro /container/scripts/entrypoint.sh"