Skip to content

Commit 57dc2ae

Browse files
authored
Move toxiproxy.deb to /tmp (#326)
I am seeing Directory (/home/circleci/project) you are trying to checkout to is not empty and not a git repository error after I started using the new Dockerfile.ci image. My best guess is that this failure is because we download toxiproxy.deb file into the home directory which blocks git checkout. This PR moves toxiproxy to /tmp/ to avoid this
1 parent 0172523 commit 57dc2ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.ci

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ RUN sudo apt-get update && \
88
cargo install cargo-binutils rustfilt && \
99
rustup component add llvm-tools-preview && \
1010
pip3 install psycopg2 && sudo gem install bundler && \
11-
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 && \
12-
sudo dpkg -i toxiproxy-2.4.0.deb
11+
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 && \
12+
sudo dpkg -i /tmp/toxiproxy-2.4.0.deb

0 commit comments

Comments
 (0)