Skip to content

Commit

Permalink
fix: reorder to avoid false positive with trivy scan
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com>
  • Loading branch information
smuu committed Mar 16, 2023
1 parent 204387f commit 6e50b78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# stage 1 Generate celestia-appd Binary
FROM docker.io/golang:1.18.10-alpine3.17 as builder
# hadolint ignore=DL3018
RUN apk update && apk --no-cache add \
RUN apk update && apk add --no-cache \
gcc \
git \
make \
Expand All @@ -20,7 +20,7 @@ ARG USER_NAME=celestia
ENV CELESTIA_HOME=/home/${USER_NAME}

# hadolint ignore=DL3018
RUN apk update && apk --no-cache add \
RUN apk update && apk add --no-cache \
bash \
# Creates a user with $UID and $GID=$UID
&& adduser ${USER_NAME} \
Expand Down

0 comments on commit 6e50b78

Please sign in to comment.