38 lines
1.5 KiB
Docker
38 lines
1.5 KiB
Docker
#@ All rights reserved (C) Jacob Hrbek <rsa4096/0x31AE4020956E0A9A> in 30/10/2021-EU 01:22:40 UTC
|
|
#@ Copyright (C) 16/11/2021-EU Jacob Hrbek <kreyren@rixotstudio.cz>, released under the terms of GPLv3 license <https://www.gnu.org/licenses/gpl-3.0.en.html>
|
|
|
|
# 30/10/2021-EU 01:44:14 UTC
|
|
FROM debian:bullseye-20211011-slim
|
|
LABEL Description="Minimal Debian Linux Image with GUIX package manager designed for testing"
|
|
# 30/10/2021-EU 01:24:54 UTC
|
|
LABEL Version="30102021012454"
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
|
|
|
# OUTSOURCED(Krey): Guix's official way to install the package manager on non-GUIX system is using https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
|
|
# 30/10/2021-EU 01:24:54 UTC
|
|
ENV guixInstall_commit="e4ed0b3969ddbe44347c468c96ccfa057b2dd256"
|
|
RUN true \
|
|
&& apt-get update \
|
|
&& apt-get install --yes --quiet --no-install-recommends \
|
|
wget \
|
|
gnupg \
|
|
xz-utils \
|
|
# NOTE(Krey): We need this otherwise wget will fail with `ERROR: The certificate of '' is not trusted`
|
|
ca-certificates \
|
|
&& wget "https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh?id=$guixInstall_commit" -O guix-install.sh \
|
|
# Add guix-install dependencies
|
|
&& chmod +x guix-install.sh \
|
|
&& yes | sh guix-install.sh \
|
|
&& apt-get remove --yes \
|
|
wget \
|
|
gnupg \
|
|
xz-utils \
|
|
&& apt-get autoremove --yes \
|
|
&& apt-get clean --yes \
|
|
&& rm -rf \
|
|
/var/cache/debconf/* \
|
|
/var/lib/apt/lists/* \
|
|
/tmp/* \
|
|
/var/tmp/*
|