Update Dockerfile
Browse files- Dockerfile +10 -2
Dockerfile
CHANGED
@@ -1,5 +1,13 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# Install dependencies
|
5 |
RUN apt-get update && apt-get install -y \
|
|
|
1 |
+
FROM ubuntu:20.04
|
2 |
+
|
3 |
+
# Set the timezone environment variable (example: America/New_York)
|
4 |
+
ENV TZ=America/New_York
|
5 |
+
|
6 |
+
# Install tzdata package and set timezone non-interactively
|
7 |
+
RUN apt-get update && apt-get install -y tzdata \
|
8 |
+
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
|
9 |
+
&& echo $TZ > /etc/timezone \
|
10 |
+
&& apt-get clean
|
11 |
|
12 |
# Install dependencies
|
13 |
RUN apt-get update && apt-get install -y \
|