Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vlkb-soda
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
ViaLactea
vlkb-soda
Commits
9ac8048b
Commit
9ac8048b
authored
8 months ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
docker: cleanup tomcat-on-ubuntu image
parent
7a61648e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/Dockerfile.soda.temurin-jammy
+5
-15
5 additions, 15 deletions
docker/Dockerfile.soda.temurin-jammy
docker/Makefile
+1
-1
1 addition, 1 deletion
docker/Makefile
with
6 additions
and
16 deletions
docker/Dockerfile.soda.temurin-jammy
+
5
−
15
View file @
9ac8048b
...
...
@@ -11,11 +11,6 @@ RUN apt-get -y update \
&& apt-get -y install apt-utils \
&& apt-get -y install libcfitsio-bin unzip
# Remove the default webapps:
RUN rm -rf /usr/local/tomcat/webapps/examples/ \
/usr/local/tomcat/webapps/docs/ \
/usr/local/tomcat/webapps/host-manager
ENV WEBAPP_DIR=/webapps/vlkb-soda
...
...
@@ -41,21 +36,16 @@ ENV INST_DIR=/usr/local
RUN echo "${INST_DIR}/lib" > /etc/ld.so.conf.d/ast.conf && ldconfig \
&& echo "fits_path_surveys=/srv/surveys" > $WEBAPP_DIR/WEB-INF/classes/cutout.properties
# configure during docker build-time
# precofigure port 8080 (no SSL)
# pre-configure port 8080 (no TSL)
COPY deps/server.xml deps/server-connector.xml ${CATALINA_BASE}/conf/
# configure during docker run-time
# modif permissions to allow run as non-root: need to config TSL and ROOT-CONTEXT
WORKDIR ${CATALINA_BASE}
RUN chmod -R a+rwX conf
# configure during start-up
COPY start-soda.sh.soda /root/start-soda.sh
# modif permissions to allow run as non-root
#WORKDIR ${CATALINA_HOME}
#RUN chmod -R +rX .; chmod 1777 logs temp work
# additionally need to config TSL and ROOT-CONTEXT config
WORKDIR ${CATALINA_BASE}
RUN chmod -R a+rwX conf
RUN chmod +rx /root && chmod +rx /root/start-soda.sh
CMD ["sh", "-c", "/root/start-soda.sh"]
This diff is collapsed.
Click to expand it.
docker/Makefile
+
1
−
1
View file @
9ac8048b
...
...
@@ -31,7 +31,7 @@ ast-9.2.9.tar.gz:
.PHONY
:
build
build-soda-
ubuntu
:
build-soda-
temurin-jammy
:
docker build
--build-arg
VLKB_VERSION
=
$(
VERSION
)
-t
soda
-f
Dockerfile.soda.temurin-jammy .
build-soda
:
...
...
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