Commit graph

2 commits

Author SHA1 Message Date
84b29f0467
feat: build the magefile into a binary
This commit builds the magefile into a binary during the docker build
stage.
The Dockerfile is updated to include a multi-stage build where the first
stage compiles the binary and the second stage builds the final
cv-builder image.
The final image is now based on debian:buster instead of
golang:<VERSION>-buster which significantly reduces the image's size.
2020-09-13 22:50:17 +01:00
5fbdaa5a02
ci: GitLab pipeline for the cv-builder image.
This is the first of a few commits for creating
the GitLab CI pipeline for building and publishing my CV.
This commit adds a pipeline for building and publishing the cv-builder
docker image to the GitLab container registry.

Additions:

- The cv-builder docker image: This commit adds a Dockerfile for
building the cv-builder docker image. The image is based on the
golang (buster) image and installs ConTeXt (standalone version)
and the Carlito font.

- The gitlab-ci.yml file: This commit adds the gitlab-ci.yml file for
running the pipeline for building and publishing the docker image
to the GitLab Container Registry.

Changes:

- The Makefile now includes targets for building and publishing docker images.
2019-12-21 19:38:34 +00:00