Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Docker build can't install packages
Need to initialize the apt repos with `apt-get update`. Since you're maintaining your own install script and not installing cleanly here, we should break the system apart so that we're clearing the apt cache properly.
  • Loading branch information
thebwt committed Sep 19, 2016
1 parent bea5e56 commit 9389a0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Expand Up @@ -8,8 +8,9 @@
FROM ubuntu

# Install Glances (develop branch)
RUN apt-get -y install curl && \
curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install-develop.sh | /bin/bash
RUN apt-get update && apt-get -y install curl && rm -rf /var/lib/apt/lists/*
RUN curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install-develop.sh | /bin/bash && rm -rf /var/lib/apt/lists/*


# Define working directory.
WORKDIR /glances
Expand Down

0 comments on commit 9389a0a

Please sign in to comment.