Skip to content

Commit 52c7c57

Browse files
authored
Update dockerfile
1 parent 86b04e6 commit 52c7c57

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

zadanie2/dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
FROM node:24-alpine AS nodebuilder
33

44
#pobieranie nowej wersji pakietu
5-
#RUN apk add --update --no-cache stdlib
5+
RUN apk add --update --no-cache pkg:golang/stdlib@1.23.8
66

77
# RUN go install github.com/x/y@latest \
88
# && cp $GOPATH/bin/package /usr/local/bin/
99

1010

1111
# Zainstaluj Go
12-
ENV GOLANG_VERSION=1.23.8
13-
RUN wget https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
14-
tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz && \
15-
rm go${GOLANG_VERSION}.linux-amd64.tar.gz
12+
# ENV GOLANG_VERSION=1.23.8
13+
# RUN wget https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz && \
14+
# tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz && \
15+
# rm go${GOLANG_VERSION}.linux-amd64.tar.gz
1616

1717
# Ustaw zmienne środowiskowe
1818
ENV PATH="/usr/local/go/bin:${PATH}"

0 commit comments

Comments
 (0)