Skip to content

Commit c1bbbab

Browse files
committed
Update Dockerfile.ci with golang
1 parent 7f52ad8 commit c1bbbab

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Dockerfile.ci

Lines changed: 5 additions & 2 deletions
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 && \
14-
sudo dpkg -i /tmp/toxiproxy-2.4.0.deb
14+
sudo dpkg -i /tmp/toxiproxy-2.4.0.deb && \
15+
wget -O go1.21.3.linux-$(dpkg --print-architecture).tar.gz https://go.dev/dl/go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
16+
tar -C /usr/local -xzf go1.21.3.linux-$(dpkg --print-architecture).tar.gz && \
17+
rm go1.21.3.linux-$(dpkg --print-architecture).tar.gz

tests/docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +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-amd64.tar.gz https://go.dev/dl/go1.21.3.linux-amd64.tar.gz && \
12-
tar -C /usr/local -xzf go1.21.3.linux-amd64.tar.gz && \
13-
rm go1.21.3.linux-amd64.tar.gz
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+
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)