diff --git a/Containerfile b/Containerfile index d4f5c0d..554588f 100644 --- a/Containerfile +++ b/Containerfile @@ -1 +1,26 @@ -# TODO: Implement me +FROM docker.io/node:22 AS build-ember +# TODO: Implement ember frontend build +FROM docker.io/golang:1.23 AS build-go +# TODO: Implement golang build +FROM gcr.io/distroless/static-debian12:latest as release +# TODO: Implement final release container + +# OCI labels, following https://github.com/opencontainers/image-spec/blob/main/annotations.md + +# Make this one dynamic +# LABEL org.opencontainers.image.created = rfc timestamp, according to https://datatracker.ietf.org/doc/html/rfc3339#section-5.6 +LABEL org.opencontainers.image.authors="Melody Becker/m*" +# LABEL org.opencontainers.image.url="Main linstrom page url here" +# LABEL org.opencontainers.image.documentation="Url to main linstrom documentation here" +LABEL org.opencontainers.image.source="https://gitlab.com/mstarongitlab/linstrom" +# Make this one dynamic from build tag +LABEL org.opencontainers.image.version="0.0.1" +# LABEL org.opencontainers.image.revision="idk what" +# LABEL org.opencontainers.image.vendor="None/m*" +LABEL org.opencontainers.image.licenses="EUPL-1.2" +# LABEL org.opencontainers.image.ref.name="uhh, no idea either" +LABEL org.opencontainers.image.title="Linstrom" +LABEL org.opencontainers.image.description="A social media server acting as part of the fediverse" +# Make this automatic since latest distroless image gets update constantly +# LABEL org.opencontainers.image.base.digest="digest/hash of base image" +LABEL org.opencontainers.image.base.name="gcr.io/distroless/static-debian12:latest"