Skip to content

Commit 29f76c5

Browse files
committed
forgot to add generated dockerfile
1 parent aae1069 commit 29f76c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM --platform=$TARGETPLATFORM yolean/runtime-quarkus-deno:root
2+
3+
# Appends the same nonroot directives as https://github.com/Yolean/kubernetes-kafka/tree/master/nonroot
4+
# i.e. https://github.com/solsson/dockerfiles/tree/native/kafka-nonroot
5+
RUN grep 'nonroot:x:65532' /etc/passwd || \
6+
echo 'nonroot:x:65532:65534:nonroot:/home/nonroot:/usr/sbin/nologin' >> /etc/passwd && \
7+
mkdir -p /home/nonroot && touch /home/nonroot/.bash_history && chown -R 65532:65534 /home/nonroot
8+
USER nonroot:nogroup

0 commit comments

Comments
 (0)