mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-20 08:04:28 +01:00
Update Dockerfile
Without the *.tar the tar file is not deleted. This change saves about 20mb of space.
This commit is contained in:
@@ -150,7 +150,7 @@ COPY --from=buildcontainer /tmp/signal-cli-${SIGNAL_CLI_VERSION}/build/native-im
|
|||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
RUN tar xf /tmp/signal-cli-${SIGNAL_CLI_VERSION}.tar -C /opt
|
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 \
|
RUN groupadd -g 1000 signal-api \
|
||||||
&& useradd --no-log-init -M -d /home -s /bin/bash -u 1000 -g 1000 signal-api \
|
&& useradd --no-log-init -M -d /home -s /bin/bash -u 1000 -g 1000 signal-api \
|
||||||
|
|||||||
Reference in New Issue
Block a user