From dc4cfeb2bc5ca489868bba23f9e12261ba70c132 Mon Sep 17 00:00:00 2001 From: david may <1301201+wass3r@users.noreply.github.com> Date: Fri, 16 Aug 2024 22:01:41 +0000 Subject: [PATCH] fix: dockerfile inconsistencies (#515) --- docker/Dockerfile | 2 +- docker/Dockerfile.golang | 2 +- docker/Dockerfile.python | 2 +- docker/Dockerfile.ruby | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 83781261..5f7b39e7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -26,7 +26,7 @@ ENV GROUP=flottbot ENV UID=900 ENV GID=900 -RUN apk --no-cache add ca-certificates curl jq && mkdir config && \ +RUN apk add --no-cache ca-certificates curl jq && mkdir config && \ addgroup -g "$GID" -S "$GROUP" && adduser -S -u "$UID" -G "$GROUP" "$USERNAME" COPY --from=build /src/flottbot /flottbot diff --git a/docker/Dockerfile.golang b/docker/Dockerfile.golang index 59a009ca..67d0e273 100644 --- a/docker/Dockerfile.golang +++ b/docker/Dockerfile.golang @@ -26,7 +26,7 @@ ENV GROUP=flottbot ENV UID=900 ENV GID=900 -RUN apk --no-cache add ca-certificates && mkdir config && \ +RUN apk add --no-cache ca-certificates curl jq && mkdir config && \ addgroup -g "$GID" -S "$GROUP" && adduser -S -u "$UID" -G "$GROUP" "$USERNAME" COPY --from=build /src/flottbot /flottbot diff --git a/docker/Dockerfile.python b/docker/Dockerfile.python index 292955c5..4eac26c5 100644 --- a/docker/Dockerfile.python +++ b/docker/Dockerfile.python @@ -26,7 +26,7 @@ ENV GROUP=flottbot ENV UID=900 ENV GID=900 -RUN apk --no-cache add ca-certificates && mkdir config && \ +RUN apk add --no-cache ca-certificates curl jq && mkdir config && \ addgroup -g "$GID" -S "$GROUP" && adduser -S -u "$UID" -G "$GROUP" "$USERNAME" COPY --from=build /src/flottbot /flottbot diff --git a/docker/Dockerfile.ruby b/docker/Dockerfile.ruby index ff2b8b93..3144b95a 100644 --- a/docker/Dockerfile.ruby +++ b/docker/Dockerfile.ruby @@ -26,7 +26,7 @@ ENV GROUP=flottbot ENV UID=900 ENV GID=900 -RUN apk add --no-cache ca-certificates ruby-dev build-base && mkdir config && \ +RUN apk add --no-cache ca-certificates curl jq ruby-dev build-base && mkdir config && \ addgroup -g "$GID" -S "$GROUP" && adduser -S -u "$UID" -G "$GROUP" "$USERNAME" COPY --from=build /src/flottbot /flottbot