Skip to content
Snippets Groups Projects
Commit afecfcdc authored by Dariusz Janny's avatar Dariusz Janny
Browse files

[faas#33] port exposing added.

parent 5235df27
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ COPY ./conf/etc/apt/sources.list /etc/apt/sources.list
RUN apt-get -q update && \
apt-get install -y --no-install-recommends apt-utils && \
apt-get install -y --no-install-recommends curl vim rsyslog && \
apt-get install -y --no-install-recommends curl vim rsyslog mc && \
apt-get install -y apache2 libapache2-mod-shib shibboleth-sp-utils shibboleth-sp-common && \
apt-get --yes install supervisor && \
apt-get clean
......@@ -20,5 +20,7 @@ RUN apt-get -q update && \
COPY ./conf/etc/supervisord.conf /etc/supervisord.conf
COPY ./conf/etc/entrypoint /etc/entrypoint
EXPOSE 80
ENTRYPOINT ["/etc/entrypoint"]
......@@ -16,7 +16,7 @@ run: # run container
docker run -i -t --detach --rm --env-file=$(config) --name="${FAAS_SMTP_NAME}" ${FAAS_SHIB_IMAGE}
run-nd: # run container in no-deamon mode
docker run -i -t --rm --env-file=$(config) --name="${FAAS_SHIB_NAME}" ${FAAS_SHIB_IMAGE}
docker run -i -t --rm --env-file=$(config) -p 9080:80 --name="${FAAS_SHIB_NAME}" ${FAAS_SHIB_IMAGE}
up: build run # build and run container
......
......@@ -2,4 +2,7 @@
sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
/usr/sbin/shib-keygen -n sp-encrypt
/usr/sbin/shib-keygen -n sp-signing
exec supervisord -c /etc/supervisord.conf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment