mirror of https://github.com/nicolargo/glances.git
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.
This commit is contained in:
parent
bea5e560e6
commit
9389a0a865
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue