-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (20 loc) · 726 Bytes
/
Dockerfile
File metadata and controls
29 lines (20 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM golang:1.22 as build
RUN go install golang.org/x/tools/cmd/present@latest
FROM debian:bookworm-slim
COPY --from=build /go/bin/present /usr/local/bin/present
RUN groupadd -r present && useradd --no-log-init -r -g present present
USER present
WORKDIR /talks
ADD fosdem22 /talks/fosdem22
ADD gcil-2023 /talks/gcil-2023
ADD go-august-penguin /talks/go-august-penguin
ADD go-il-ifaces /talks/go-il-ifaces
ADD go-intro /talks/go-intro
ADD go-quiz /talks/go-quiz
ADD go-std-iface /talks/go-std-iface
ADD go-var /talks/go-var
ADD import-c-go-il /talks/import-c-go-il
ADD json-the-fine-print /talks/json-the-fine-print
ADD nrsc /talks/nrsc
ADD rang-func /talks/range-func
CMD ["present", "-http", ":8080", "-play=false"]