Skip to content

Commit b951c23

Browse files
committed
Fix #190: Fix native binaries and images
1 parent 06dbaf1 commit b951c23

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
org.opencontainers.image.title=HAL On Premise
125125
org.opencontainers.image.url=https://hal.github.io
126126
org.opencontainers.image.vendor=Red Hat
127-
containerfiles: op/standalone/src/main/docker/Dockerfile.native-distroless
127+
containerfiles: op/standalone/src/main/docker/Dockerfile.native-micro
128128
context: op/standalone
129129
- uses: redhat-actions/push-to-registry@v2
130130
with:

op/standalone/src/main/docker/Dockerfile.native-distroless

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM quay.io/quarkus/ubi9-quarkus-micro-image:2.0
2+
WORKDIR /work/
3+
RUN chown 1001 /work \
4+
&& chmod "g+rwX" /work \
5+
&& chown 1001:root /work
6+
COPY --chown=1001:root --chmod=0755 target/*-runner /work/application
7+
8+
EXPOSE 8080
9+
USER 1001
10+
11+
ENTRYPOINT ["./application", "-Dquarkus.http.host=0.0.0.0"]

0 commit comments

Comments
 (0)