Chapter 11: Testing on Linus

Running the docker-compose build command in terminal spits out errors:

$ docker-compose build
postgres uses an image, skipping
Building til-app
Step 1/6 : FROM swift:4.2
—> 1531aac77f45
Step 2/6 : WORKDIR /package
—> Using cache
—> 486fc7330fd8
Step 3/6 : COPY . ./
—> 02af52e81855
Step 4/6 : RUN swift package resolve
—> Running in be288f0757ec
error: failed to clone; Cloning into bare repository ‘/package/.build/repositories/vapor.git–6042383267037164770’…
fatal: unable to access ‘’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
ERROR: Service ‘til-app’ failed to build: The command ‘/bin/sh -c swift package resolve’ returned a non-zero code: 1

Are you on a VPN? Looks like a network issue

Hey Tim, no VPN but I did just continue along with other steps and things just worked :man_shrugging:

1 Like