Skip to content

Commit

Permalink
add dockerfile for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas committed May 9, 2024
1 parent b9033d1 commit 33bb098
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This Dockerfile is used to build container image for production workloads.
# It relies on the binaries produced by `ignite_release` and `ignite_release_extract_binaries` make targets.
FROM alpine:3.19
ARG TARGETARCH

# Use `1025` G/UID so users can switch between this and `heighliner` image without a need to chown the files.
RUN addgroup --gid 1025 -S pocket && adduser --uid 1025 -S pocket -G pocket

COPY --chown=pocket:pocket release_binaries/poktroll_linux_$TARGETARCH /bin/poktrolld

USER pocket

ENTRYPOINT ["poktrolld"]

0 comments on commit 33bb098

Please sign in to comment.