diff --git a/build-tools/docker/Dockerfile.api-blockchain-scanner-daemon b/build-tools/docker/Dockerfile.api-blockchain-scanner-daemon index 33189758a8..19f1b7903e 100644 --- a/build-tools/docker/Dockerfile.api-blockchain-scanner-daemon +++ b/build-tools/docker/Dockerfile.api-blockchain-scanner-daemon @@ -5,7 +5,7 @@ FROM mintlayer-builder:latest AS builder # Runtime Stage FROM debian:bookworm-slim -# Create a new user and group +# Create a new user and group RUN groupadd -r mintlayer && \ useradd -r -g mintlayer -d /home/mintlayer -s /bin/bash -c "Mintlayer User" mintlayer diff --git a/build-tools/docker/Dockerfile.api-web-server b/build-tools/docker/Dockerfile.api-web-server index 6f13b7cf13..82f08a0756 100644 --- a/build-tools/docker/Dockerfile.api-web-server +++ b/build-tools/docker/Dockerfile.api-web-server @@ -5,7 +5,7 @@ FROM mintlayer-builder:latest AS builder # Runtime Stage FROM debian:bookworm-slim -# Create a new user and group +# Create a new user and group RUN groupadd -r mintlayer && \ useradd -r -g mintlayer -d /home/mintlayer -s /bin/bash -c "Mintlayer User" mintlayer diff --git a/build-tools/docker/Dockerfile.node-daemon b/build-tools/docker/Dockerfile.node-daemon index d5585940cd..6773252897 100644 --- a/build-tools/docker/Dockerfile.node-daemon +++ b/build-tools/docker/Dockerfile.node-daemon @@ -5,7 +5,7 @@ FROM mintlayer-builder:latest AS builder # Runtime Stage FROM debian:bookworm-slim -# Create a new user and group +# Create a new user and group RUN groupadd -r mintlayer && \ useradd -r -g mintlayer -d /home/mintlayer -s /bin/bash -c "Mintlayer User" mintlayer diff --git a/build-tools/docker/Dockerfile.wallet-cli b/build-tools/docker/Dockerfile.wallet-cli index 2ca510603c..8b10e4312a 100644 --- a/build-tools/docker/Dockerfile.wallet-cli +++ b/build-tools/docker/Dockerfile.wallet-cli @@ -4,7 +4,7 @@ FROM mintlayer-builder:latest AS builder # Runtime Stage FROM debian:bookworm-slim -# Create a new user and group +# Create a new user and group RUN groupadd -r mintlayer && \ useradd -r -g mintlayer -d /home/mintlayer -s /bin/bash -c "Mintlayer User" mintlayer diff --git a/build-tools/docker/Dockerfile.wallet-rpc-daemon b/build-tools/docker/Dockerfile.wallet-rpc-daemon index ae1b6efda5..9665420023 100644 --- a/build-tools/docker/Dockerfile.wallet-rpc-daemon +++ b/build-tools/docker/Dockerfile.wallet-rpc-daemon @@ -4,7 +4,7 @@ FROM mintlayer-builder:latest AS builder # Runtime Stage FROM debian:bookworm-slim -# Create a new user and group +# Create a new user and group RUN groupadd -r mintlayer && \ useradd -r -g mintlayer -d /home/mintlayer -s /bin/bash -c "Mintlayer User" mintlayer