mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2024-06-12 18:50:15 +00:00
Compare commits
4 Commits
2d0198b6a6
...
47db325810
Author | SHA1 | Date | |
---|---|---|---|
|
47db325810 | ||
|
be04407560 | ||
4da5f455c2 | |||
75b5c0466c |
5
.github/workflows/build-2nd-layer.yml
vendored
5
.github/workflows/build-2nd-layer.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- major: 8
|
- major: 8
|
||||||
arch: 'amd64, arm64'
|
arch: 'amd64, arm64'
|
||||||
- major: 9
|
- major: 9
|
||||||
arch: 'amd64, arm64, s390x'
|
arch: 'amd64, arm64, ppc64le, s390x'
|
||||||
type:
|
type:
|
||||||
- micro
|
- micro
|
||||||
- init
|
- init
|
||||||
|
@ -55,7 +55,8 @@ jobs:
|
||||||
./Containerfile-${{ matrix.type }}
|
./Containerfile-${{ matrix.type }}
|
||||||
labels: |
|
labels: |
|
||||||
name=rockylinux
|
name=rockylinux
|
||||||
version=${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
org.opencontainers.image.title=rockylinux
|
||||||
|
org.opencontainers.image.version=${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
||||||
oci: true
|
oci: true
|
||||||
tags: ${{ matrix.registry.domain }}/${{ matrix.registry.account }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
tags: ${{ matrix.registry.domain }}/${{ matrix.registry.account }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
||||||
|
|
||||||
|
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- major: 8
|
- major: 8
|
||||||
arch: 'amd64, arm64'
|
arch: 'amd64, arm64'
|
||||||
- major: 9
|
- major: 9
|
||||||
arch: 'amd64, arm64, s390x'
|
arch: 'amd64, arm64, ppc64le, s390x'
|
||||||
type:
|
type:
|
||||||
- micro
|
- micro
|
||||||
- init
|
- init
|
||||||
|
@ -43,6 +43,7 @@ jobs:
|
||||||
./Containerfile-${{ matrix.type }}
|
./Containerfile-${{ matrix.type }}
|
||||||
labels: |
|
labels: |
|
||||||
name=rockylinux
|
name=rockylinux
|
||||||
version=${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
org.opencontainers.image.title=rockylinux
|
||||||
|
org.opencontainers.image.version=${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
||||||
oci: true
|
oci: true
|
||||||
tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ACCOUNT }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ACCOUNT }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}
|
||||||
|
|
|
@ -2,9 +2,12 @@ ARG ImageVersion
|
||||||
|
|
||||||
FROM rockylinux/rockylinux:$ImageVersion-ubi
|
FROM rockylinux/rockylinux:$ImageVersion-ubi
|
||||||
LABEL summary="Rocky Linux UBI init image" \
|
LABEL summary="Rocky Linux UBI init image" \
|
||||||
description="This image is designed to run an init system as PID 1 for running multi-services inside a container." \
|
|
||||||
usage="Do not use directly. Use as a base image for daemons. Install chosen packages and 'systemctl enable' them." \
|
usage="Do not use directly. Use as a base image for daemons. Install chosen packages and 'systemctl enable' them." \
|
||||||
maintainer="Magauer Lukas <lukas@magauer.eu>"
|
org.opencontainers.image.authors="Magauer Lukas <lukas@magauer.eu>" \
|
||||||
|
org.opencontainers.image.description="This image is designed to run an init system as PID 1 for running multi-services inside a container." \
|
||||||
|
org.opencontainers.image.licenses="BSD-3-Clause" \
|
||||||
|
org.opencontainers.image.url="https://github.com/rocky-linux/sig-cloud-instance-images" \
|
||||||
|
org.opencontainers.image.vendor="Rocky Enterprise Software Foundation"
|
||||||
|
|
||||||
CMD ["/sbin/init"]
|
CMD ["/sbin/init"]
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,11 @@ RUN rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
LABEL summary="Rocky Linux UBI micro image" \
|
LABEL summary="Rocky Linux UBI micro image" \
|
||||||
description="Very small image which doesn't install the package manager." \
|
org.opencontainers.image.authors="Magauer Lukas <lukas@magauer.eu>" \
|
||||||
maintainer="Magauer Lukas <lukas@magauer.eu>"
|
org.opencontainers.image.description="Very small image which doesn't install the package manager." \
|
||||||
|
org.opencontainers.image.licenses="BSD-3-Clause" \
|
||||||
|
org.opencontainers.image.url="https://github.com/rocky-linux/sig-cloud-instance-images" \
|
||||||
|
org.opencontainers.image.vendor="Rocky Enterprise Software Foundation"
|
||||||
|
|
||||||
COPY --from=ubi-micro-build /mnt/rootfs/ /
|
COPY --from=ubi-micro-build /mnt/rootfs/ /
|
||||||
COPY --from=ubi-micro-build /etc/yum.repos.d/* /etc/yum.repos.d/
|
COPY --from=ubi-micro-build /etc/yum.repos.d/* /etc/yum.repos.d/
|
||||||
|
|
0
tools/fetch-and-branch.sh
Normal file → Executable file
0
tools/fetch-and-branch.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user