diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d4d11f3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# Download base image ubuntu 20.04 +FROM k_ub20:v2 + +# LABEL about the custom image +LABEL maintainer="pengtao@kingsome.cn" +LABEL version="0.1" +LABEL description="This is custom Docker Image for \ +the C++ Services." + +# Disable Prompt During Packages Installation +ARG DEBIAN_FRONTEND=noninteractive + +# Define the ENV variable +#ENV nginx_vhost /etc/nginx/sites-available/default +RUN mkdir -p /app +# Copy start.sh script and define default command for the container +COPY . /app +WORKDIR /app +RUN chmod -R 755 /app +RUN ln -s /usr/bin/x86_64-linux-gnu-g++-9 /usr/bin/g++ +RUN /usr/bin/bash /app/boundle.sh +CMD ["bash"] +#CMD ["/app/boundle.sh"] \ No newline at end of file