modified: README.md
new file: golang.yml
modified: nginx.yml
new file: node.yml
new file: postgres.yml
new file: python.yml
new file: redis.yml
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
# syntax=dhi.io/build:2-alpine3.23
|
||||
|
||||
contents:
|
||||
builds:
|
||||
- name: compiler
|
||||
variant: dev
|
||||
packages:
|
||||
- go
|
||||
|
||||
variant: runtime
|
||||
|
||||
contents:
|
||||
repositories:
|
||||
- https://dl-cdn.alpinelinux.org/alpine/v3.23/main
|
||||
packages:
|
||||
- ca-certificates
|
||||
|
||||
accounts:
|
||||
groups:
|
||||
- gid: 65532
|
||||
name: appuser
|
||||
users:
|
||||
- uid: 65532
|
||||
gid: 65532
|
||||
name: appuser
|
||||
run-as: appuser
|
||||
|
||||
work-dir: /
|
||||
|
||||
environment:
|
||||
PATH: /usr/local/bin:/usr/bin:/bin
|
||||
|
||||
entrypoint:
|
||||
- /server
|
||||
|
||||
annotations:
|
||||
org.opencontainers.image.title: "hardened-go-runtime"
|
||||
org.opencontainers.image.description: "Attack-surface-free execution environment for compiled Go binaries"
|
||||
Reference in New Issue
Block a user