-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
842 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
**/node_modules | ||
build | ||
#* | ||
#!build/*-runner | ||
#!build/*-runner.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
FROM docker.io/defreitas/tools_graalvm-22.3_java-19_debian-9:0.1.1 AS BUILDER | ||
COPY ./ /app | ||
WORKDIR /app | ||
RUN ./gradlew clean build -Dquarkus.package.type=native -i &&\ | ||
cd build &&\ | ||
ls -lha &&\ | ||
mkdir -p artifacts &&\ | ||
mv $(ls -p ./ | grep -v / | grep dns-proxy-server) ./artifacts/ | ||
|
||
FROM debian:10-slim | ||
ADD build/dns-proxy-server-linux-amd64*.tgz /app/ | ||
COPY --from=BUILDER /app/build/artifacts/* /app/dns-proxy-server | ||
WORKDIR /app | ||
LABEL dps.container=true | ||
VOLUME ["/var/run/docker.sock", "/var/run/docker.sock"] | ||
CMD ["bash", "-c", "/app/dns-proxy-server"] | ||
ENTRYPOINT "/app/dns-proxy-server" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM node:12-alpine AS FRONTEND | ||
COPY app /app | ||
WORKDIR /app | ||
ENV PUBLIC_URL=/static | ||
RUN npm install &&\ | ||
npm run build &&\ | ||
rm -f `find ./build -name *.map` | ||
|
||
FROM scratch AS ARTIFACTS | ||
COPY --from=FRONTEND /app/build /static | ||
ENTRYPOINT cat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM docker.io/defreitas/tools-generic-cd:0.1.1 | ||
COPY . /app | ||
COPY ./builder.bash /bin/builder.bash | ||
WORKDIR /app |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.