mirror of
https://github.com/outbackdingo/ucore.git
synced 2026-01-27 18:20:42 +00:00
Pattern the uCore build after ublue-os/main to provide consistency between different image builds in the organization.
19 lines
438 B
Docker
19 lines
438 B
Docker
ARG IMAGE_NAME="${IMAGE_NAME:-ucore}"
|
|
ARG COREOS_VERSION="${COREOS_VERSION:-stable}"
|
|
|
|
FROM quay.io/fedora/fedora-coreos:${COREOS_VERSION}
|
|
|
|
ARG IMAGE_NAME
|
|
ARG COREOS_VERSION
|
|
|
|
ADD build.sh /tmp/build.sh
|
|
ADD post-install.sh /tmp/post-install.sh
|
|
ADD packages.json /tmp/packages.json
|
|
|
|
COPY etc /etc
|
|
|
|
RUN /tmp/build.sh
|
|
RUN /tmp/post-install.sh
|
|
RUN rm -rf /tmp/* /var/*
|
|
RUN ostree container commit
|
|
RUN mkdir -p /var/tmp && chmod -R 1777 /var/tmp |