mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 14:47:55 +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 && \
|
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
|
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
|
final config
|
||||||
#LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
VOLUME ["/var/cache/nginx"]
|
||||||
#ARG DEBIAN_FRONTEND=noninteractive
|
EXPOSE 80 443
|
||||||
|
|
||||||
#final config
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
#VOLUME ["/var/cache/nginx"]
|
|
||||||
#EXPOSE 80 443
|
|
||||||
|
|
||||||
#CMD ["nginx", "-g", "daemon off;"]
|
|
||||||
|
@ -114,4 +114,7 @@ RUN apt-get update && \
|
|||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# 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
|
# 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
|
# 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"]
|
CMD ["/run-services.sh"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user