File tree Expand file tree Collapse file tree 6 files changed +39
-1
lines changed
Expand file tree Collapse file tree 6 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM debian:9-slim
2+
3+ WORKDIR /app/build
4+ COPY ./build/artifacts/native-image-source/ /app/build
5+ RUN mkdir -p /app/build/artifacts/linux-jre && mv dns-proxy-server.jar /app/build/artifacts/linux-jre/
6+
7+ ENTRYPOINT cat
Original file line number Diff line number Diff line change 1+ FROM eclipse-temurin:21-jre
2+
3+ WORKDIR /app
4+ COPY ./build/artifacts/linux-jre/ /app
5+
6+ LABEL dps.container=true
7+ ENV DPS_CONTAINER=1
8+ VOLUME ["/var/run/docker.sock", "/var/run/docker.sock"]
9+
10+ ENTRYPOINT [ \
11+ "java", \
12+ "-jar", "/app/dns-proxy-server.jar" \
13+ ]
Original file line number Diff line number Diff line change 1+ ## 5.4.0
2+ * Releasing JRE Docker Image Version
3+
14## 5.3.0
25* Docker Solver: Specify Preferred Networks to use when solving container IP #662
36
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ case $1 in
106106 docker tag defreitas/dns-proxy-server:${APP_VERSION} defreitas/dns-proxy-server:unstable && \
107107 echo " $DOCKER_PASSWORD " | docker login -u " $DOCKER_USERNAME " --password-stdin && \
108108 docker-compose push image-linux-amd64 && \
109+ docker-compose push image-linux-jre && \
109110 docker push defreitas/dns-proxy-server:nightly && \
110111 docker push defreitas/dns-proxy-server:unstable
111112 echo " Push done"
@@ -135,6 +136,7 @@ case $1 in
135136
136137 # also builds the jar
137138 ./builder.bash build-backend amd64
139+ ./builder.bash build-backend jre
138140
139141 ./builder.bash compress-artifacts
140142
Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ services:
2727 dockerfile : Dockerfile.builder.linux-aarch64
2828 platform : linux/arm64/v8
2929
30+ build-linux-jre :
31+ image : defreitas/dns-proxy-server-build:${VERSION:-snapshot}-jre
32+ build :
33+ context : .
34+ dockerfile : Dockerfile.builder.linux-jre
35+
3036 # end:build
3137
3238 # tag:image
@@ -47,4 +53,11 @@ services:
4753 build :
4854 context : .
4955 dockerfile : Dockerfile.aarch64
56+
57+ image-linux-jre :
58+ image : defreitas/dns-proxy-server:${VERSION:-snapshot}-jre
59+ build :
60+ context : .
61+ dockerfile : Dockerfile.jre
62+
5063 # end:image
Original file line number Diff line number Diff line change 1- version =5.3 .0-snapshot
1+ version =5.4 .0-snapshot
You can’t perform that action at this time.
0 commit comments