Skip to content

Commit

Permalink
add fastly user (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist authored Jan 21, 2022
1 parent 49d5ad0 commit 2d4cdd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile-node
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN export FASTLY_CLI_VERSION=$(curl --silent https://api.github.com/repos/fastl

RUN tar -xzf fastly.tar.gz --directory /usr/bin && rm fastly.tar.gz

RUN adduser fastly
USER fastly

WORKDIR /app
ENTRYPOINT ["/usr/bin/fastly"]
CMD ["--help"]
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile-rust
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ RUN export FASTLY_CLI_VERSION=$(curl --silent https://api.github.com/repos/fastl

RUN tar -xzf fastly.tar.gz --directory /usr/bin && rm fastly.tar.gz

RUN adduser fastly
USER fastly

WORKDIR /app
ENTRYPOINT ["/usr/bin/fastly"]
CMD ["--help"]
Expand Down

0 comments on commit 2d4cdd3

Please sign in to comment.