mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-30 02:48:27 +08:00
17 lines
495 B
Docker
Executable File
17 lines
495 B
Docker
Executable File
FROM alpine:3.4
|
|
|
|
MAINTAINER kennylee26 <kennylee26@gmail.com>
|
|
|
|
# Install base packages
|
|
RUN apk --no-cache update && \
|
|
apk --no-cache upgrade && \
|
|
apk --no-cache add curl bash tzdata tar unzip && \
|
|
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
|
echo "Asia/Shanghai" > /etc/timezone && \
|
|
date && \
|
|
echo -ne "Alpine Linux 3.4 image. (`uname -rsv`)\n" >> /root/.built && \
|
|
rm -fr /tmp/* /var/cache/apk/*
|
|
|
|
# Define bash as default command
|
|
CMD ["/bin/bash"]
|