23 lines
634 B
Docker
23 lines
634 B
Docker
# 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"] |