diff options
| -rw-r--r-- | Containerfile | 6 | ||||
| -rw-r--r-- | Makefile | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile index c761c26..7a12114 100644 --- a/Containerfile +++ b/Containerfile @@ -1,5 +1,7 @@ FROM ubuntu:questing AS builder +ARG IMAGE_BUILD + ARG BINUTILS_VERSION ARG GCC_VERSION ARG GDB_VERSION @@ -32,6 +34,10 @@ FROM ubuntu:questing LABEL org.opencontainers.image.title="TeachOS Toolchain" LABEL org.opencontainers.image.description="A semi-statically linked cross-compiler toolchain for TeachOS development." +LABEL org.opencontainers.iamge.source="https://gitlab.ost.ch/teachos/devcontainers" +LABEL org.opencontainers.image.version="$GCC_VERSION" +LABEL org.opencontainers.iamge.revision="$IMAGE_BUILD" +LABEL org.opencontainers.image.base.name="docker.io/ubuntu:questing" RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ @@ -45,6 +45,7 @@ container_image: Containerfile podman pull docker.io/ubuntu:questing podman build \ --volume $(mkfile_dir)downloads:/downloads \ + --build-arg IMAGE_BUILD=$(IMAGE_BUILD) \ --build-arg BINUTILS_VERSION=$(BINUTILS_VERSION) \ --build-arg GCC_VERSION=$(GCC_VERSION) \ --build-arg GDB_VERSION=$(GDB_VERSION) \ |
