Skip to content

Commit d9b8578

Browse files
committed
fix(router): docker build fails when apt archive is stale
`apt-get update` before the first apt command seems to fix this in general.
1 parent 5b57f32 commit d9b8578

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

router/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ FROM deis/base
22
MAINTAINER Gabriel Monroy <gabriel@opdemand.com>
33

44
# install nginx
5-
RUN apt-get install -yq python-software-properties
5+
RUN apt-get update && \
6+
apt-get install -yq python-software-properties
67
RUN add-apt-repository ppa:chris-lea/redis-server -y
78
RUN add-apt-repository ppa:nginx/stable -y
89
RUN apt-get update

0 commit comments

Comments
 (0)