20 lines
532 B
Plaintext
20 lines
532 B
Plaintext
|
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
|