Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Fix docker build error by running apt-get update before apt-get insta…
Browse files Browse the repository at this point in the history
…ll (prebid#986)
  • Loading branch information
mansinahar authored Aug 1, 2019
1 parent b354a1f commit 0fe6838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WORKDIR /go/src/github.com/prebid/prebid-server/
ENV GOROOT=/usr/local/go
ENV GOPATH=/go
ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH
RUN apt-get install -y git go-dep && \
RUN apt-get update && \
apt-get install -y git go-dep && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV CGO_ENABLED 0
COPY ./ ./
Expand Down

0 comments on commit 0fe6838

Please sign in to comment.