diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a4a82d1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM centos:7 + +WORKDIR /root + +RUN yum update -y && yum group install -y "Development Tools" + +RUN yum install -y wget cmake valgrind vim gdb net-tools + +# ENV LC_CTYPE="en_US.UTF-8" +# Set the locale +# RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ +# locale-gen +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 + +ENV TZ="Asia/Shanghai" +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +CMD ["/bin/bash"]