File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,14 +49,12 @@ COPY --from=downloader /etc/apt/sources.list.d/openspp.list /etc/apt/sources.lis
4949RUN apt-get update && \
5050 apt-get install -y --no-install-recommends \
5151 ca-certificates \
52- && apt-get update && \
53- # Create fake systemctl for Docker installation \
54- && echo '#!/bin/sh \n exit 0' > /usr/bin/systemctl \
52+ && apt-get update \
53+ && echo '#!/bin/sh' > /usr/bin/systemctl \
54+ && echo 'exit 0' > > /usr/bin/systemctl \
5555 && chmod +x /usr/bin/systemctl \
56- # Install OpenSPP package \
5756 && apt-get install -y --no-install-recommends \
5857 openspp-17-daily \
59- # Remove fake systemctl after installation \
6058 && rm -f /usr/bin/systemctl \
6159 && apt-get clean \
6260 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -49,14 +49,12 @@ COPY --from=downloader /etc/apt/sources.list.d/openspp.list /etc/apt/sources.lis
4949RUN apt-get update && \
5050 apt-get install -y --no-install-recommends \
5151 ca-certificates \
52- && apt-get update && \
53- # Create fake systemctl for Docker installation \
54- && echo '#!/bin/sh\nexit 0' > /usr/bin/systemctl \
52+ && apt-get update \
53+ && echo '#!/bin/sh' > /usr/bin/systemctl \
54+ && echo 'exit 0' > > /usr/bin/systemctl \
5555 && chmod +x /usr/bin/systemctl \
56- # Install OpenSPP package \
5756 && apt-get install -y --no-install-recommends \
5857 openspp-17-daily \
59- # Remove fake systemctl after installation \
6058 && rm -f /usr/bin/systemctl \
6159 && apt-get clean \
6260 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments