mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 07:33:55 +01:00
Added oci labels
This commit is contained in:
@ -1,5 +1,12 @@
|
||||
FROM debian:latest
|
||||
|
||||
LABEL org.opencontainers.image.created=${BUILDTIMESTAMP} \
|
||||
org.opencontainers.image.authors="Heiko Reese <reese@kit.edu>" \
|
||||
org.opencontainers.image.title="exim build container" \
|
||||
org.opencontainers.image.description="A buld environment for exim-encrypt-dlfunc" \
|
||||
org.opencontainers.image.source="https://git.scc.kit.edu/mail/exim-encrypt-dlfunc/" \
|
||||
org.opencontainers.image.licenses="Apache-2.0"
|
||||
|
||||
RUN apt-get update; \
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install --no-install-recommends -y \
|
||||
build-essential \
|
||||
@ -21,9 +28,14 @@ RUN apt-get update; \
|
||||
gpgv1 \
|
||||
meson; \
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install --no-install-recommends -y \
|
||||
less \
|
||||
mc \
|
||||
openssh-client \
|
||||
vim; \
|
||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get clean; \
|
||||
rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
RUN pip3 install --upgrade meson ninja; \
|
||||
rm -rf ~/.cache/pip/*;
|
||||
|
||||
WORKDIR /mnt/
|
||||
|
||||
@ -64,6 +64,7 @@ for i in "${images[@]}"; do
|
||||
--format docker \
|
||||
--iidfile "${IIDFILE}" \
|
||||
--tag "${IMAGETAG}"
|
||||
--build-arg BUILDTIMESTAMP="`date --iso-8601=seconds`"
|
||||
|
||||
if [ "${REGISTRY}" != "none" ]; then
|
||||
echo "🚀 Pushing »${IMAGETAG}« to »${TARGET}«"
|
||||
|
||||
Reference in New Issue
Block a user