Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM busybox:1.37.0-uclibc@sha256:204ad6ed80a4a45a622dae3d804dcb837248617dc50c145e526fdaed99d6865f as busybox
FROM busybox:1.37.0-uclibc@sha256:5ea5116fb0855f9c513dac58fabc55509a8da6df6945587cbf9bc206cb9af0eb as busybox

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker build / Docker Build (Test)

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

FROM alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c as cloudflared

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker build / Docker Build (Test)

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# Dockerfile cross compilation helper
FROM tonistiigi/xx@sha256:923441d7c25f1e2eb5789f82d987693c47b8ed987c4ab3b075d6ed2b5d6779a3 AS xx

# Stage - Build Cloudflared
FROM golang:1.20-alpine@sha256:e47f121850f4e276b2b210c56df3fda9191278dd84a3a442bfe0b09934462a8f as builder

Check warning on line 9 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker build / Docker Build (Test)

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# Copy xx scripts
COPY --from=xx / /
Expand Down Expand Up @@ -49,7 +49,7 @@
USER nonroot

# Tunnel environments
ENV TUNNEL_TOKEN=noToken

Check warning on line 52 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker build / Docker Build (Test)

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "TUNNEL_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV POST_QUANTUM=false

ENTRYPOINT [ "/bin/sh", "entrypoint.sh" ]