Skip to content

Commit

Permalink
fix(#20): update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mcharytoniuk committed Sep 16, 2024
1 parent ded12e4 commit 345de2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

RUN apt-get update && apt-get install -y \
git \
Expand All @@ -7,13 +7,13 @@ RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g npm@latest

RUN curl -LO https://golang.org/dl/go1.20.6.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.20.6.linux-amd64.tar.gz \
&& rm go1.20.6.linux-amd64.tar.gz
RUN curl -LO https://go.dev/dl/go1.23.1.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.23.1.linux-amd64.tar.gz \
&& rm go1.23.1.linux-amd64.tar.gz

ENV PATH=$PATH:/usr/local/go/bin

Expand Down

0 comments on commit 345de2a

Please sign in to comment.