Skip to content

Commit

Permalink
Include all toolbox base image
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
  • Loading branch information
anmazzotti committed Jun 4, 2024
1 parent 730fc4a commit 3005a75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .obs/dockerfile/Dockerfile.sle-micro-5-5
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@

ARG SLMICRO_VERSION

FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest as builder
FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest

ARG CHANNEL_JSON_FILE="sle-micro-5-5.json"

COPY $CHANNEL_JSON_FILE /channel.json

FROM scratch
COPY --from=builder /usr/bin/cp /usr/bin/cp
COPY --from=builder /channel.json /channel.json

USER 10010:10010

# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down
6 changes: 1 addition & 5 deletions .obs/dockerfile/Dockerfile.sle-micro-5-5-kvm
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@

ARG SLMICRO_VERSION

FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest as builder
FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest

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

COPY $CHANNEL_JSON_FILE /channel.json

FROM scratch
COPY --from=builder /usr/bin/cp /usr/bin/cp
COPY --from=builder /channel.json /channel.json

USER 10010:10010

# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down
6 changes: 1 addition & 5 deletions .obs/dockerfile/Dockerfile.sle-micro-5-5-rt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@

ARG SLMICRO_VERSION

FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest as builder
FROM suse/sl-micro/${SLMICRO_VERSION}/toolbox:latest

ARG CHANNEL_JSON_FILE="sle-micro-5-5-rt.json"

COPY $CHANNEL_JSON_FILE /channel.json

FROM scratch
COPY --from=builder /usr/bin/cp /usr/bin/cp
COPY --from=builder /channel.json /channel.json

USER 10010:10010

# Define labels according to https://en.opensuse.org/Building_derived_containers
Expand Down

0 comments on commit 3005a75

Please sign in to comment.