Skip to content

Commit

Permalink
Update Dockerfiles
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <[email protected]>
  • Loading branch information
davidcassany committed Aug 5, 2024
1 parent aed2e0f commit 8553da3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
#!BuildTag: rancher/elemental-channel/sle-micro:5.5-kvm
#!BuildTag: rancher/elemental-channel/sle-micro:5.5-kvm-%RELEASE%
#!BuildTag: rancher/elemental-channel/sl-micro:6.0-baremetal
#!BuildTag: rancher/elemental-channel/sl-micro:6.0-baremetal-%RELEASE%
#!UseOBSRepositories

ARG SLMICRO_VERSION
Expand All @@ -11,7 +11,7 @@ FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest as toolbox
RUN mkdir -p /busybox && rpm --initdb --root /busybox
RUN zypper --installroot /busybox in --no-recommends -y busybox

ARG CHANNEL_JSON_FILE="sle-micro-5-5-kvm.json"
ARG CHANNEL_JSON_FILE="sl-micro-60-baremetal.json"

COPY $CHANNEL_JSON_FILE /channel.json

Expand All @@ -24,13 +24,13 @@ USER 10010:10010

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.rancher.elemental
LABEL org.opencontainers.image.title="Rancher SLE Micro 5.5 KVM Channel"
LABEL org.opencontainers.image.title="SL Micro 6.0 Baremetal Channel"
LABEL org.opencontainers.image.description="Includes the Elemental Channel"
LABEL org.opencontainers.image.version="5.5-kvm"
LABEL org.opencontainers.image.version="6.0-baremetal"
LABEL org.opencontainers.image.url="https://build.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opensuse.reference="rancher/elemental-channel/sle-micro:5.5-kvm"
LABEL org.opensuse.reference="rancher/elemental-channel/sl-micro:6.0-baremetal"
LABEL org.openbuildservice.disturl="%DISTURL%"
# endlabelprefix

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
#!BuildTag: rancher/elemental-channel/sle-micro:5.5-rt
#!BuildTag: rancher/elemental-channel/sle-micro:5.5-rt-%RELEASE%
#!BuildTag: rancher/elemental-channel/sl-micro:6.0-base
#!BuildTag: rancher/elemental-channel/sl-micro:6.0-base-%RELEASE%
#!UseOBSRepositories

ARG SLMICRO_VERSION
Expand All @@ -11,7 +11,7 @@ FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest as toolbox
RUN mkdir -p /busybox && rpm --initdb --root /busybox
RUN zypper --installroot /busybox in --no-recommends -y busybox

ARG CHANNEL_JSON_FILE="sle-micro-5-5-rt.json"
ARG CHANNEL_JSON_FILE="sl-micro-60-base.json"

COPY $CHANNEL_JSON_FILE /channel.json

Expand All @@ -24,13 +24,13 @@ USER 10010:10010

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.rancher.elemental
LABEL org.opencontainers.image.title="Rancher SLE Micro 5.5 RT Channel"
LABEL org.opencontainers.image.title="SL Micro 6.0 Base Channel"
LABEL org.opencontainers.image.description="Includes the Elemental Channel"
LABEL org.opencontainers.image.version="5.5-rt"
LABEL org.opencontainers.image.version="6.0-base"
LABEL org.opencontainers.image.url="https://build.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opensuse.reference="rancher/elemental-channel/sle-micro:5.5-rt"
LABEL org.opensuse.reference="rancher/elemental-channel/sl-micro:6.0-base"
LABEL org.openbuildservice.disturl="%DISTURL%"
# endlabelprefix

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
#!BuildTag: rancher/elemental-channel/sle-micro:5.5
#!BuildTag: rancher/elemental-channel/sle-micro:5.5-%RELEASE%
#!BuildTag: rancher/elemental-channel/sl-micro:6.0-kvm
#!BuildTag: rancher/elemental-channel/sl-micro:6.0-kvm-%RELEASE%
#!UseOBSRepositories

ARG SLMICRO_VERSION
Expand All @@ -11,7 +11,7 @@ FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest as toolbox
RUN mkdir -p /busybox && rpm --initdb --root /busybox
RUN zypper --installroot /busybox in --no-recommends -y busybox

ARG CHANNEL_JSON_FILE="sle-micro-5-5.json"
ARG CHANNEL_JSON_FILE="sl-micro-60-kvm.json"

COPY $CHANNEL_JSON_FILE /channel.json

Expand All @@ -24,13 +24,13 @@ USER 10010:10010

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.rancher.elemental
LABEL org.opencontainers.image.title="Rancher SLE Micro 5.5 Channel"
LABEL org.opencontainers.image.title="SL Micro 6.0 KVM Channel"
LABEL org.opencontainers.image.description="Includes the Elemental Channel"
LABEL org.opencontainers.image.version="5.5"
LABEL org.opencontainers.image.version="6.0-kvm"
LABEL org.opencontainers.image.url="https://build.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opensuse.reference="rancher/elemental-channel/sle-micro:5.5"
LABEL org.opensuse.reference="rancher/elemental-channel/sl-micro:6.0-kvm"
LABEL org.openbuildservice.disturl="%DISTURL%"
# endlabelprefix

Expand Down

0 comments on commit 8553da3

Please sign in to comment.