This commit is contained in:
commit
1551822765
2 changed files with 28 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM almalinux:9 as installer
|
||||
|
||||
RUN dnf install -y yum-utils
|
||||
RUN yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
||||
RUN dnf install \
|
||||
--installroot /fakeroot \
|
||||
--releasever 9 \
|
||||
--setopt install_weak_deps=false \
|
||||
--nodocs -y \
|
||||
git docker-ce-cli docker-buildx-plugin \
|
||||
&& dnf clean all --installroot /fakeroot
|
||||
|
||||
|
||||
FROM scratch
|
||||
COPY --from=installer /fakeroot /
|
Loading…
Add table
Add a link
Reference in a new issue