File tree Expand file tree Collapse file tree 3 files changed +11
-18
lines changed Expand file tree Collapse file tree 3 files changed +11
-18
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:latest
2
+
3
+ RUN apt-get update && apt-get upgrade -y
4
+ ENV TZ=America/Los_Angeles
5
+ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6
+ RUN apt-get install -y -q sudo
7
+ RUN apt-get install -y -q fail2ban
8
+ RUN apt-get install -y -q httpie
9
+ RUN apt-get install -y -q glances
Original file line number Diff line number Diff line change 1
- FROM ubuntu:latest
2
-
3
- RUN apt-get update && apt-get upgrade -y
4
- ENV TZ=America/Los_Angeles
5
- RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6
- RUN apt-get install -y -q sudo
7
- RUN apt-get install -y -q fail2ban
8
- RUN apt-get install -y -q httpie
9
- RUN apt-get install -y -q glances
1
+ FROM base_server:latest
10
2
11
3
RUN apt-get install -y -q nginx
12
4
RUN rm /etc/nginx/sites-enabled/default
Original file line number Diff line number Diff line change 1
- FROM ubuntu:latest
2
-
3
- RUN apt-get update && apt-get upgrade -y
4
- ENV TZ=America/Los_Angeles
5
- RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6
- RUN apt-get install -y -q sudo
7
- RUN apt-get install -y -q fail2ban
8
- RUN apt-get install -y -q httpie
9
- RUN apt-get install -y -q glances
1
+ FROM base_server:latest
10
2
11
3
RUN apt-get install -y -q build-essential git python3-pip python3-dev python3-venv
12
4
RUN python3 -m venv /venv
You can’t perform that action at this time.
0 commit comments