25 lines
969 B
Docker
25 lines
969 B
Docker
#@ All rights reserved (C) Jacob Hrbek <rsa4096/0x31AE4020956E0A9A> in 30/10/2021-EU 01:22:40 UTC
|
|
#@ Copyright (C) Jacob Hrbek <rsa4096/0x31AE4020956E0A9A> in 30/10/2021-EU 13:27:17 UTC released under the GPLv3 license <https://www.gnu.org/licenses/gpl-3.0.en.html>
|
|
|
|
###! REMOVE(Krey): The provided tarball is not the whole system so this is futile design
|
|
|
|
# 30/10/2021-EU 01:25:30 UTC
|
|
FROM alpine:3.14.2
|
|
LABEL Description="Fetcher to fetch the tarball from GNU Guix website"
|
|
# 30/10/2021-EU 01:24:54 UTC
|
|
LABEL Version="30102021012454"
|
|
|
|
ENV guixBinaryVersion="1.3.0"
|
|
RUN true \
|
|
&& wget "https://ftp.gnu.org/gnu/guix/guix-binary-$guixBinaryVersion.x86_64-linux.tar.xz" -O guix-binary.x86_64-linux.tar.xz \
|
|
&& mkdir result \
|
|
&& tar xpf guix-binary.x86_64-linux.tar.xz -C result \
|
|
&& rm -r guix-binary.x86_64-linux.tar.xz
|
|
|
|
FROM scratch
|
|
# 30/10/2021-EU 01:24:54 UTC
|
|
LABEL Version="30102021012454"
|
|
|
|
COPY --from=fetcher /result/ /
|
|
|
|
ENTRYPOINT [ "executable" ] |