Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed etc/.DS_Store
Binary file not shown.
17 changes: 17 additions & 0 deletions etc/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# recommended way to build is using:
# docker build \
# --build-arg PLATFORM=linux --build-arg ARCH=amd64 --build-arg VERSION=bullseye \
# -f etc/docker/Dockerfile .
#
ARG PLATFORM
ARG ARCH
ARG VERSION
FROM --platform=${PLATFORM}/${ARCH} golang:1.19-${VERSION} AS builder

# Run makefile to build command-line tools
WORKDIR /usr/src/app
COPY . .
RUN make

FROM --platform=${PLATFORM}/${ARCH} ubuntu:${VERSION}
COPY --from=builder /usr/src/app/build/* /usr/local/bin/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.