mirror of
https://codeberg.org/gigirassy/the-pit
synced 2026-08-30 23:27:39 +00:00
Update Dockerfile
This commit is contained in:
+5
-3
@@ -17,10 +17,12 @@ RUN case "$TARGETARCH" in \
|
|||||||
--root /out \
|
--root /out \
|
||||||
--target "$cargo_target"
|
--target "$cargo_target"
|
||||||
|
|
||||||
FROM kgrv/mini:tn
|
FROM scratch
|
||||||
|
|
||||||
COPY --from=build --chown=mini:mini /out/bin/the-pit /the-pit
|
USER 60000:60000
|
||||||
|
|
||||||
|
COPY --from=build --chown=60000:60000 /out/bin/the-pit /the-pit
|
||||||
|
|
||||||
ENV TARPIT_BIND=0.0.0.0:22
|
ENV TARPIT_BIND=0.0.0.0:22
|
||||||
|
|
||||||
ENTRYPOINT ["tini", "--", "/the-pit"]
|
ENTRYPOINT [""/the-pit"]
|
||||||
Reference in New Issue
Block a user