FS-10452: Fixed build of docker container

This commit is contained in:
Sergey Safarov 2017-06-30 07:07:16 -04:00
parent ae5c197808
commit aaa5f0f619
2 changed files with 6 additions and 6 deletions

View File

@ -38,6 +38,9 @@ RUN apt-get update && apt-get install -y curl \
RUN apt-get update && apt-get install -y freeswitch-all \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Clean up
RUN apt-get autoremove
COPY docker-entrypoint.sh /
# Add anything else here
@ -67,9 +70,6 @@ SHELL ["/bin/bash"]
HEALTHCHECK --interval=15s --timeout=5s \
CMD fs_cli -x status | grep -q ^UP || exit 1
# Clean up
RUN apt-clean --aggressive
ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@ -38,6 +38,9 @@ RUN apt-get update && apt-get install -y curl \
RUN apt-get update && apt-get install -y freeswitch-all \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Clean up
RUN apt-get autoremove
COPY docker-entrypoint.sh /
## Ports
# Open the container up to the world.
@ -65,9 +68,6 @@ SHELL ["/bin/bash"]
HEALTHCHECK --interval=15s --timeout=5s \
CMD fs_cli -x status | grep -q ^UP || exit 1
# Clean up
RUN apt-clean --aggressive
## Add additional things here
##