File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ VOLUME /tmp
33
44EXPOSE 8080
55
6+ ENV TITLE Databucket
67ENV DB_HOST localhost
78ENV DB_PORT 3306
89ENV DB_DATABASE databucket
@@ -20,7 +21,7 @@ RUN apk update && \
2021COPY /docker-entrypoint.sh /home/spring/docker-entrypoint.sh
2122RUN chmod +x /home/spring/docker-entrypoint.sh
2223
23- RUN wget -O /home/spring/databucket-app-2.2.5 .jar https://github.com/databucket/databucket-app/releases/download/2.2.5 /databucket-app-2.2.5 .jar
24+ RUN wget -O /home/spring/databucket-app-2.2.6 .jar https://github.com/databucket/databucket-app/releases/download/2.2.6 /databucket-app-2.2.6 .jar
2425RUN chown spring:spring /home/spring/${JAR_NAME}
2526
2627USER spring
Original file line number Diff line number Diff line change 11exec java \
2+ -Ddatabuket.title=${TITLE} \
23 -Dspring.datasource.url=jdbc:mysql://${DB_HOST} :${DB_PORT} /${DB_DATABASE} \
34 -Dspring.datasource.username=${DB_USER} \
45 -Dspring.datasource.password=${DB_PASSWORD} \
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ VOLUME /tmp
33
44EXPOSE 8080
55
6+ ENV TITLE Databucket
67ENV DB_HOST localhost
78ENV DB_PORT 3306
89ENV DB_DATABASE databucket
@@ -19,7 +20,7 @@ RUN apt-get update && \
1920COPY /docker-entrypoint.sh /home/spring/docker-entrypoint.sh
2021RUN chmod +x /home/spring/docker-entrypoint.sh
2122
22- RUN wget -O /home/spring/databucket-app-2.2.5 .jar https://github.com/databucket/databucket-app/releases/download/2.2.5 /databucket-app-2.2.5 .jar
23+ RUN wget -O /home/spring/databucket-app-2.2.6 .jar https://github.com/databucket/databucket-app/releases/download/2.2.6 /databucket-app-2.2.6 .jar
2324RUN chown spring:spring /home/spring/${JAR_NAME}
2425
2526USER spring
Original file line number Diff line number Diff line change 11exec java \
2+ -Ddatabuket.title=${TITLE} \
23 -Dspring.datasource.url=jdbc:mysql://${DB_HOST} :${DB_PORT} /${DB_DATABASE} \
34 -Dspring.datasource.username=${DB_USER} \
45 -Dspring.datasource.password=${DB_PASSWORD} \
You can’t perform that action at this time.
0 commit comments