Skip to content

Commit b45c6b1

Browse files
authored
Update Dockerfile.ci with golang (#637)
1 parent dae240d commit b45c6b1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile.ci

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ RUN sudo apt-get update && \
99
sudo apt-get upgrade curl && \
1010
cargo install cargo-binutils rustfilt && \
1111
rustup component add llvm-tools-preview && \
12-
pip3 install psycopg2 && sudo gem install bundler && \
12+
pip3 install psycopg2 && sudo gem install bundler && \
1313
wget -O /tmp/toxiproxy-2.4.0.deb https://github.com/Shopify/toxiproxy/releases/download/v2.4.0/toxiproxy_2.4.0_linux_$(dpkg --print-architecture).deb && \
1414
sudo dpkg -i /tmp/toxiproxy-2.4.0.deb
15+
RUN wget -O /tmp/go1.21.3.linux-$(dpkg --print-architecture).tar.gz https://go.dev/dl/go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
16+
sudo tar -C /usr/local -xzf /tmp/go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
17+
rm /tmp/go1.21.3.linux-$(dpkg --print-architecture).tar.gz

tests/docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ RUN rustup component add llvm-tools-preview
88
RUN sudo gem install bundler
99
RUN wget -O toxiproxy-2.4.0.deb https://github.com/Shopify/toxiproxy/releases/download/v2.4.0/toxiproxy_2.4.0_linux_$(dpkg --print-architecture).deb && \
1010
sudo dpkg -i toxiproxy-2.4.0.deb
11+
RUN wget -O go1.21.3.linux-$(dpkg --print-architecture).tar.gz https://go.dev/dl/go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
12+
sudo tar -C /usr/local -xzf go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
13+
rm go1.21.3.linux-$(dpkg --print-architecture).tar.gz

0 commit comments

Comments
 (0)