This commit is contained in:
parent
d1d304baae
commit
8eacf95dcb
10
Dockerfile
10
Dockerfile
@ -1,6 +1,10 @@
|
||||
FROM docker.io/golang:1.23 as build
|
||||
COPY src/ .
|
||||
RUN printf 'module yw5n\ngo 1.23' > go.mod && CGO_ENABLED=0 go build -o /app
|
||||
ARG VER=1.23
|
||||
|
||||
FROM "docker.io/golang:$VER" as build
|
||||
WORKDIR /app/
|
||||
ARG VER
|
||||
COPY main.go .
|
||||
RUN printf "module yw5n\ngo $VER" > go.mod && CGO_ENABLED=0 go build -o /app
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /app /app
|
||||
|
@ -40,7 +40,7 @@
|
||||
<h3><b>EPITECH Toulouse</b> - Promo 2026</h3>
|
||||
<ul>
|
||||
<li>C/C++ (system programming, AI, ciphering, games)</li>
|
||||
<li>Free languages (maths, functional programming)</li>
|
||||
<li>Free languages (math, functional programming)</li>
|
||||
<li>DevOps (GitHub Actions, Docker, Ansible, Kubernetes)</li>
|
||||
</ul>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user