This is a minimal image suitable for deploying Go static binaries. It is meant to work with the vroom/build image. For example, you might create a Dockerfile in your project that looks something like this:
FROM vroom/build:latest as builder
COPY . .
RUN go build -o=app -mod=vendor
FROM vroom/base:latest
COPY --from=builder /opt/app .
COPY config config
CMD ./app
Using a build container like this enables us to keep all the build dependencies off of the final image, making it very small, in turn making it easy and quick to propagate changes through our infrastructure.
Content type
Image
Digest
Size
3 MB
Last updated
over 6 years ago
docker pull vroom/base