| 1 |
# From current directory: |
| 2 |
# GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main . |
| 3 |
# gcloud builds submit --tag us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic_test:latest |
| 4 |
FROM alpine |
| 5 |
|
| 6 |
COPY main / |
| 7 |
|
| 8 |
ENV env_bar="val_bar" |
| 9 |
|
| 10 |
LABEL "tee.launch_policy.allow_env_override"="ALLOWED_OVERRIDE" |
| 11 |
LABEL "tee.launch_policy.allow_cmd_override"="true" |
| 12 |
LABEL "tee.launch_policy.log_redirect"="always" |
| 13 |
|
| 14 |
ENTRYPOINT ["/main"] |
| 15 |
|
| 16 |
# Can be overridden because of the launch policy. |
| 17 |
CMD ["arg_foo"] |