diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-11-01 14:54:39 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-11-01 14:54:39 -0500 |
commit | f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1 (patch) | |
tree | 09ffc7cb43136e08ba8ce349affd1d2fa5aff20b /Dockerfile | |
parent | ci: Re-enable megalinter (diff) | |
download | locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.tar locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.tar.gz locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.tar.bz2 locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.tar.lz locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.tar.xz locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.tar.zst locusts-f9becf6f5e7e2c40c1fea149d2cf0600e4437bf1.zip |
Add a user on the container
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ COPY . . RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOFLAGS=-buildvcs=false tinygo build -o locusts ./include FROM scratch +USER nobody LABEL org.opencontainers.image.licenses=0BSD LABEL org.opencontainers.image.source=https://github.com/locusts-r-us/locusts LABEL org.opencontainers.image.title=Locusts |