From c6ab85f4e1ebcb04c5f3c0d84c85f78879cb07d5 Mon Sep 17 00:00:00 2001 From: kx1t Date: Wed, 11 Dec 2024 12:59:44 -0500 Subject: [PATCH] fix Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 03f72f47..81ecd40b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/sdr-enthusiasts/docker-baseimage:python -RUN ["/bin/bash", "-o", "pipefail", "-c", "-x"] echo "Starting..." && \ +RUN /bin/bash -o pipefail -c " \ # define packages needed for installation and general management of the container: TEMP_PACKAGES=() && \ KEPT_PACKAGES=() && \ @@ -57,13 +57,13 @@ RUN ["/bin/bash", "-o", "pipefail", "-c", "-x"] echo "Starting..." && \ /tmp/* \ /var/lib/apt/lists/* \ /.dockerenv \ - /git + /git" # COPY rootfs/ / # COPY ATTRIBUTION.md /usr/share/planefence/stage/attribution.txt # -RUN ["/bin/bash", "-o", "pipefail", "-c", "-x"] echo "Installing Planefence..." && \ +RUN /bin/bash -o pipefail -c " \ # # # Install Planefence (it was copied in with /rootfs, so this is @@ -102,7 +102,7 @@ RUN ["/bin/bash", "-o", "pipefail", "-c", "-x"] echo "Installing Planefence..." # # Do some other stuff echo "alias dir=\"ls -alsv\"" >> /root/.bashrc && \ - echo "alias nano=\"nano -l\"" >> /root/.bashrc + echo "alias nano=\"nano -l\"" >> /root/.bashrc" # # No need for SHELL and ENTRYPOINT as those are inherited from the base image