Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Dec 11, 2024
1 parent 40ec14a commit c6ab85f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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=() && \
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c6ab85f

Please sign in to comment.