Skip to content

Instantly share code, notes, and snippets.

@franckc
Created September 20, 2018 19:57
Show Gist options
  • Save franckc/dc5ed5ef7203349457b8ae1a9cd0a334 to your computer and use it in GitHub Desktop.
Save franckc/dc5ed5ef7203349457b8ae1a9cd0a334 to your computer and use it in GitHub Desktop.
francks-mbp:deployment franck$ ./deploy.sh -c origin-bridge -n staging
Deployed container tag is 2062a05
Deployed container tag is the same as new deploy tag, appending unix timestamp to tag to force Kubernetes to update deployment
This will build and deploy a container for origin-bridge@2062a05, proceed (y/n)? y
Building container for origin-bridge...
Sending build context to Docker daemon 268.8MB
Step 1/11 : FROM python:3.6
---> d49c41b6e6c4
Step 2/11 : RUN apt-get update
---> Using cache
---> e8f4e0efde17
Step 3/11 : RUN apt-get upgrade -y
---> Running in 25a62e846290
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
libpq-dev libpq5 linux-libc-dev openssh-client
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2478 kB of archives.
After this operation, 32.8 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 openssh-client amd64 1:7.4p1-10+deb9u4 [778 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 libpq-dev amd64 9.6.10-0+deb9u1 [215 kB]
Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 libpq5 amd64 9.6.10-0+deb9u1 [136 kB]
Err:4 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.110-3+deb9u3
404 Not Found
Fetched 1128 kB in 0s (3687 kB/s)
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/l/linux/linux-libc-dev_4.9.110-3+deb9u3_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c apt-get upgrade -y' returned a non-zero code: 100
francks-mbp:deployment franck$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment