github.com/imannamdari/v2ray-core/v5@v5.0.5/release/container/Containerfile (about)

     1  FROM docker.io/library/golang@sha256:d19ee8512191c8b8e967246d4a7d0de4f4133a30bd9ce982e9b70a0c596dbf18 AS builder
     2  
     3  FROM --platform=${TARGETPLATFORM} scratch
     4  
     5  ARG TARGETPLATFORM
     6  ARG VARIANT
     7  
     8  COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
     9  COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
    10  COPY --from=builder /etc/passwd /etc/passwd
    11  COPY --from=builder /etc/group /etc/group
    12  COPY --from=builder /tmp /tmp
    13  COPY --from=builder /dev /dev
    14  
    15  ENV v2ray.location.asset=/opt/v2ray/share
    16  
    17  COPY ./ /opt/v2ray/
    18  
    19  CMD ["/opt/v2ray/bin/v2ray"]