Skip to content

Commit 2768968

Browse files
committed
add sudo to apt-get commands in circle.yml
1 parent c677224 commit 2768968

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

circle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ dependencies:
99

1010
pre:
1111
- mkdir -p "~/scratch/nose"
12-
- apt-get -y update && apt-get install -y wget bzip2
12+
# Let CircleCI cache the apt archive
13+
- sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
1314

1415
override:
16+
- sudo apt-get -y update && sudo apt-get install -y wget bzip2
1517
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
1618
- docker build -f docker/nipype_test_py27/Dockerfile -t nipype/nipype_test:py27 . :
1719
timeout: 1600

0 commit comments

Comments
 (0)