From 1cd9fb14858df197fda95849dabcdf82f6492a08 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 13 Oct 2020 21:13:53 +0200 Subject: [PATCH] Add Alpine 3.12 image --- build/build-all.sh | 1 + lxc-shared/alpine3.12/image | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 lxc-shared/alpine3.12/image diff --git a/build/build-all.sh b/build/build-all.sh index e2956e1..f2ab9ea 100755 --- a/build/build-all.sh +++ b/build/build-all.sh @@ -43,6 +43,7 @@ spoc-image build -p alpine3.11-ruby2.4/image spoc-image build -p alpine3.11-ruby2.6/image spoc-image build -p alpine3.11-tomcat7/image spoc-image build -p alpine3.11-tomcat8.5/image +spoc-image build -p alpine3.12/image # Build services cd ${ROOT}/lxc-services diff --git a/lxc-shared/alpine3.12/image b/lxc-shared/alpine3.12/image new file mode 100644 index 0000000..aa3ba2f --- /dev/null +++ b/lxc-shared/alpine3.12/image @@ -0,0 +1,19 @@ +IMAGE alpine3.12_3.12.0-201013 + +COPY https://github.com/alpinelinux/docker-alpine/raw/v3.12/x86_64/alpine-minirootfs-3.12.0-x86_64.tar.gz + +RUN EOF + # Update packages + apk --no-cache upgrade + + # Install common packages + apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs + + # Set time zone data + apk --no-cache add tzdata + cp /usr/share/zoneinfo/UTC /etc/localtime + apk --no-cache del tzdata + + # Cleanup + rm -rf /etc/crontabs/root /etc/periodic +EOF