Update Dockerfile

Without the *.tar the tar file is not deleted. This change saves about 20mb of space.
This commit is contained in:
haberda authored and GitHub committed 2021-03-13 09:33:15 -08:00
1 parent 66a49cb474
commit aaae1301b4
1 file changed
+1 -1
+1 -1
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 \