sourcegraph/cmd/loadtest/Dockerfile.wolfi
Will Dollman 3db318de24
Build Wolfi images (#47182)
Add Dockerfiles and build scripts for building Wolfi-based images for every container

Progress tracked in https://github.com/sourcegraph/security/issues/447

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
* Green CI
* These changes will not be made live until each image undergoes full
validation
- [x] `main-dry-run` prior to merging
https://buildkite.com/sourcegraph/sourcegraph/builds/214773#_
2023-04-24 17:32:36 +00:00

19 lines
663 B
Docker

# Dockerfile for Wolfi-based images
# This is currently being tested in parallel to Alpine - you don't need to update this
# file if you change the regular Dockerfile.
# hadolint ignore=DL3007
FROM us.gcr.io/sourcegraph-dev/wolfi-sourcegraph-base:latest
ARG COMMIT_SHA="unknown"
ARG DATE="unknown"
ARG VERSION="unknown"
LABEL org.opencontainers.image.revision=${COMMIT_SHA}
LABEL org.opencontainers.image.created=${DATE}
LABEL org.opencontainers.image.version=${VERSION}
LABEL com.sourcegraph.github.url=https://github.com/sourcegraph/sourcegraph/commit/${COMMIT_SHA}
ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/loadtest"]
COPY loadtest /usr/local/bin/