From efac7840e4eece3055c3d86fab3227156bd6f502 Mon Sep 17 00:00:00 2001 From: "hexlocation's laptop (asiago)" Date: Sun, 31 Mar 2024 05:49:37 -0400 Subject: [PATCH] ci test x4 --- Dockerfile | 4 ++-- scripts/docker_build.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f93c95..c751d0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,8 +37,8 @@ WORKDIR /app RUN deluser node # We want to run disseminate as a non-root user. -ARG UID -ARG GID +ARG UID=1000 +ARG GID=1000 RUN addgroup -g $GID disseminate && \ adduser --home /app --uid $UID -G disseminate --disabled-password disseminate diff --git a/scripts/docker_build.sh b/scripts/docker_build.sh index 867dac4..ce0a7aa 100755 --- a/scripts/docker_build.sh +++ b/scripts/docker_build.sh @@ -1,4 +1,4 @@ # Disseminate Build Script # This script builds disseminate into a docker container, using the dockerfile provided in the repository. -docker build --build-arg UID=1000 --build-arg GID=1000 . -t disseminate:latest +docker buildx build --build-arg UID=1000 --build-arg GID=1000 . -t disseminate:latest