Dockerfile 440 B

1234567891011121314
  1. # Build with:
  2. # docker build -t alpine-bash:3.8 .
  3. FROM alpine:3.8
  4. RUN \
  5. echo "http://mirrors.aliyun.com/alpine/v3.8/main" > /etc/apk/repositories && \
  6. echo "http://mirrors.aliyun.com/alpine/v3.8/community" >> /etc/apk/repositories && \
  7. apk update upgrade && \
  8. apk add --no-cache procps curl bash && \
  9. ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
  10. echo "Asia/Shanghai" > /etc/timezone
  11. CMD ["bash"]