mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
nginx testing
This commit is contained in:
parent
ee51062561
commit
e096e2bab3
@ -146,15 +146,22 @@ RUN cd ${NGINX_SRC_DIR} && \
|
||||
cp -fv ${PRE_DIR}/nginx-description-pak ${NGINX_SRC_DIR}/description-pak && \
|
||||
fakeroot checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=nginx-custom --install=no -y
|
||||
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
RUN apt clean -y && \
|
||||
apt autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
||||
|
||||
FROM epicmorg/prod
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
COPY --from-build
|
||||
|
||||
#FROM epicmorg/prod
|
||||
#LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
#ARG DEBIAN_FRONTEND=noninteractive
|
||||
final config
|
||||
VOLUME ["/var/cache/nginx"]
|
||||
EXPOSE 80 443
|
||||
|
||||
#final config
|
||||
#VOLUME ["/var/cache/nginx"]
|
||||
#EXPOSE 80 443
|
||||
|
||||
#CMD ["nginx", "-g", "daemon off;"]
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
@ -114,4 +114,7 @@ RUN apt-get update && \
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
RUN rm -rfv /var/lib/apt/lists/*
|
||||
RUN apt clean -y && \
|
||||
apt autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
||||
|
@ -65,4 +65,7 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A66C5D02 && \
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
RUN rm -rfv /var/lib/apt/lists/*
|
||||
RUN apt clean -y && \
|
||||
apt autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
||||
|
@ -97,8 +97,10 @@ RUN ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/l
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
RUN rm -rfv /var/lib/apt/lists/*
|
||||
|
||||
RUN apt clean -y && \
|
||||
apt autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
||||
|
||||
CMD ["/run-services.sh"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user