Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FaaS-shib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dariusz Janny
FaaS-shib
Commits
afecfcdc
Commit
afecfcdc
authored
4 years ago
by
Dariusz Janny
Browse files
Options
Downloads
Patches
Plain Diff
[
faas#33
] port exposing added.
parent
5235df27
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+3
-1
3 additions, 1 deletion
Dockerfile
Makefile
+1
-1
1 addition, 1 deletion
Makefile
conf/etc/entrypoint
+3
-0
3 additions, 0 deletions
conf/etc/entrypoint
with
7 additions
and
2 deletions
Dockerfile
+
3
−
1
View file @
afecfcdc
...
...
@@ -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"]
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
afecfcdc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
conf/etc/entrypoint
+
3
−
0
View file @
afecfcdc
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment