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