generated from AlmaLinux/atomic-respin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (18 loc) · 647 Bytes
/
Dockerfile
File metadata and controls
23 lines (18 loc) · 647 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ba0fde3d-bee7-4307-b97b-17d0d20aff50
# Allow build scripts to be referenced without being copied into the final image
FROM scratch AS ctx
COPY files/system /system_files/
COPY files/scripts /build_files/
COPY *.pub /keys/
# Base Image
FROM quay.io/almalinuxorg/atomic-desktop-gnome:10@sha256:729221da2ab88484f827d9fb7d18a0c61b30b3318e102c6dfbe97379e0222434
ARG IMAGE_NAME
ARG IMAGE_REGISTRY
ARG VARIANT
RUN --mount=type=tmpfs,dst=/opt \
--mount=type=tmpfs,dst=/tmp \
--mount=type=bind,from=ctx,source=/,target=/ctx \
/ctx/build_files/build.sh
### LINTING
## Verify final image and contents are correct.
RUN bootc container lint