Skip to content

Commit ab3c0f2

Browse files
author
Richard Connon
committed
Try updating the machine image instead of installing docker via script
1 parent 5e82eaa commit ab3c0f2

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
machine:
5-
image: circleci/classic:201708-01
5+
image: circleci/classic:latest
66
working_directory: ~/go/src/github.com/fnproject/fn
77
environment: # apparently expansion doesn't work here yet: https://discuss.circleci.com/t/environment-variable-expansion-in-working-directory/11322
88
- GOPATH=/home/circleci/go
@@ -22,12 +22,6 @@ jobs:
2222
wget https://storage.googleapis.com/golang/go$GOVERSION.$OS-$ARCH.tar.gz
2323
sudo tar -C /usr/local -xzf go$GOVERSION.$OS-$ARCH.tar.gz
2424
- run: go version
25-
# install latest Docker
26-
- run: |
27-
sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
28-
sudo service docker stop
29-
curl -fsSL https://get.docker.com/ | sudo sh
30-
docker version
3125
- run: docker version
3226
- run: nproc
3327
# fixes git-diff warning: "warning: inexact rename detection was skipped due to too many files.""

0 commit comments

Comments
 (0)