mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-25 08:33:22 +03:00
Add Dockerfile for automatical build on the Docker hub
This commit is contained in:
parent
d49cdd1b88
commit
63289a895a
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# Glances Dockerfile
|
||||
#
|
||||
# https://github.com/nicolargo/glances
|
||||
#
|
||||
|
||||
# Pull base image.
|
||||
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
|
||||
|
||||
# Define working directory.
|
||||
WORKDIR /glances
|
||||
|
||||
# Define default command.
|
||||
CMD ["python", "-m", "glances", "$GLANCES_OPT"]
|
Loading…
Reference in New Issue
Block a user