-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
35 lines (32 loc) · 1.51 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM scratch
ARG VERSION
ARG TYPE
ARG SUITE
ARG CODENAME
ARG BUILD_TIME
LABEL maintainer="Johannes Tegnér <[email protected]>" \
maintainer.org="Jitesoft" \
maintainer.org.uri="https://jitesoft.com" \
com.jitesoft.project.repo.type="git" \
com.jitesoft.project.repo.uri="https://gitlab.com/jitesoft/dockerfiles/debian" \
com.jitesoft.project.repo.issues="https://gitlab.com/jitesoft/dockerfiles/debian/issues" \
com.jitesoft.project.registry.uri="registry.gitlab.com/jitesoft/dockerfiles/debian" \
com.jitesoft.app.debian.version="${VERSION}" \
com.jitesoft.app.debian.version.name="${CODENAME}" \
com.jitesoft.app.debian.type="${TYPE}" \
com.jitesoft.app.debian.suite="${SUITE}" \
# Open container labels
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.created="${BUILD_TIME}" \
org.opencontainers.image.description="Debian linux" \
org.opencontainers.image.vendor="Jitesoft" \
org.opencontainers.image.source="https://gitlab.com/jitesoft/dockerfiles/debian" \
# Artifact hub annotations
io.artifacthub.package.alternative-locations="oci://index.docker.io/jitesoft/debian,oci://ghcr.io/jitesoft/debian" \
io.artifacthub.package.readme-url="https://gitlab.com/jitesoft/dockerfiles/debian/-/raw/master/README.md" \
io.artifacthub.package.logo-url="https://jitesoft.com/favicon-96x96.png"
ARG TARGETARCH
ARG TYPE
ENV LANG="C.UTF-8"
ADD ./artifacts/rootfs-${TARGETARCH}-${TYPE}.tar.gz /
CMD ["bash"]