20 lines
528 B
Plaintext
20 lines
528 B
Plaintext
IMAGE alpine3.8_3.8.5-201021
|
|
|
|
COPY https://github.com/alpinelinux/docker-alpine/raw/v3.8/x86_64/alpine-minirootfs-3.8.5-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
|