From 3b77403fa77c11ee24fd3a9509545f787eceac5d Mon Sep 17 00:00:00 2001 From: Aaron Brethorst Date: Sun, 8 Dec 2024 20:27:27 -0800 Subject: [PATCH] Clean up oba/Dockerfile * Remove commented-out lines * Get rid of two unnecessary `COPY` commands. The files in question are available in `/oba/config` and are handled by the bootstrap.sh script --- oba/Dockerfile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/oba/Dockerfile b/oba/Dockerfile index ba378af..ee3d9cc 100644 --- a/oba/Dockerfile +++ b/oba/Dockerfile @@ -100,15 +100,6 @@ COPY ./config/onebusaway-transit-data-federation-webapp-data-sources.xml.hbs . WORKDIR $CATALINA_HOME/webapps -# COPY --from=builder \ -# --chown=oba_user:oba_group \ -# /oba/libs/postgresql.jar \ -# $CATALINA_HOME/webapps/ROOT/WEB-INF/lib/ - -# COPY ./config/onebusaway-enterprise-acta-webapp-data-sources.xml.hbs \ -# $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/data-sources.xml.hbs - - ########## # Configure onebusaway-api-webapp ########## @@ -132,9 +123,6 @@ COPY --from=builder \ /oba/libs/postgresql.jar \ $CATALINA_HOME/webapps/ROOT/WEB-INF/lib/ -COPY ./config/onebusaway-api-webapp-data-sources.xml.hbs \ - $CATALINA_HOME/webapps/onebusaway-api-webapp/WEB-INF/classes/data-sources.xml.hbs - RUN mkdir -p /opt/oba/logs RUN chown -R oba_user:oba_group /opt/oba/logs RUN chmod 755 /opt/oba/logs @@ -162,9 +150,6 @@ COPY --from=builder \ /oba/libs/postgresql.jar \ onebusaway-transit-data-federation-webapp/WEB-INF/lib/ -COPY ./config/onebusaway-transit-data-federation-webapp-data-sources.xml.hbs \ - $CATALINA_HOME/webapps/onebusaway-transit-data-federation-webapp/WEB-INF/classes/data-sources.xml.hbs - ########## # Clean up ##########