Skip to content

Commit

Permalink
Use ENV key=value (#489)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Jul 25, 2024
1 parent 81a887b commit c8552f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dnsdist/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN apk --no-cache add \
re2 && \
rm -rf /var/cache/apk/*

ENV PAGER less
ENV PAGER=less

RUN addgroup -S dnsdist && \
adduser -S -D -G dnsdist dnsdist
Expand Down
10 changes: 5 additions & 5 deletions homer/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ RUN yarn install --frozen-lockfile \
# production stage
FROM alpine:3.20

ENV USER darkhttpd
ENV GROUP darkhttpd
ENV GID 911
ENV UID 911
ENV PORT 8080
ENV USER=darkhttpd
ENV GROUP=darkhttpd
ENV GID=911
ENV UID=911
ENV PORT=8080

RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U --no-cache su-exec darkhttpd
Expand Down

0 comments on commit c8552f2

Please sign in to comment.