Dockerfile 532 B

123456789101112131415161718192021222324252627
  1. FROM ubuntu:latest
  2. LABEL maintainer="Jeremy Zheng"
  3. ENV DEBIAN_FRONTEND noninteractive
  4. RUN apt update
  5. RUN apt -y upgrade
  6. RUN apt -y install build-essential
  7. RUN apt -y autoremove
  8. RUN apt -y clean
  9. RUN apt -y install locales locales-all tzdata build-essential
  10. RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
  11. RUN locale-gen
  12. RUN update-locale LANG=en_US.UTF-8
  13. RUN update-alternatives --set editor /usr/bin/vim.basic
  14. RUN echo "$(date -u +%4Y%m%d%H%M%S)" | tee /VERSION
  15. VOLUME /workspace
  16. WORKDIR /workspace
  17. CMD ["/bin/bash", "-l"]