Update Dockerfile

Without the *.tar the tar file is not deleted. This change saves about 20mb of space.
This commit is contained in:
haberda
2021-03-13 09:33:15 -08:00
committed by GitHub
parent 66a49cb474
commit aaae1301b4

View File

@@ -150,7 +150,7 @@ COPY --from=buildcontainer /tmp/signal-cli-${SIGNAL_CLI_VERSION}/build/native-im
COPY entrypoint.sh /entrypoint.sh
RUN tar xf /tmp/signal-cli-${SIGNAL_CLI_VERSION}.tar -C /opt
RUN rm -rf /tmp/signal-cli-${SIGNAL_CLI_VERSION}
RUN rm -rf /tmp/signal-cli-${SIGNAL_CLI_VERSION}.tar
RUN groupadd -g 1000 signal-api \
&& useradd --no-log-init -M -d /home -s /bin/bash -u 1000 -g 1000 signal-api \