launcher/image/testworkloads/memorymonitoringdebug/Dockerfile
raw| 1 | # From current directory: |
| 2 | # GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main ../basic |
| 3 | # gcloud builds submit --tag us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/memorymonitoringdebug:latest --project confidential-space-images-dev |
| 4 | FROM alpine |
| 5 | |
| 6 | COPY main / |
| 7 | |
| 8 | ENV env_bar="val_bar" |
| 9 | |
| 10 | LABEL "tee.launch_policy.monitoring_memory_allow"="debugonly" |
| 11 | |
| 12 | ENTRYPOINT ["/main"] |
| 13 | |
| 14 | CMD ["arg_foo"] |