Skip to content

Commit

Permalink
updated Dockerfile to set ubuntu version and tzdata values
Browse files Browse the repository at this point in the history
  • Loading branch information
Antsega committed Apr 30, 2024
1 parent 4c65477 commit 3f43641
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
FROM --platform=linux/amd64 ubuntu:latest
FROM --platform=linux/amd64 ubuntu:20.04

# Set timezone for tzdata
ENV TZ=UTC

# Install tzdata non-interactively
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
apt-get update && \
apt-get install -y tzdata

# Update and install necessary packages
RUN apt-get update && apt-get upgrade -y ca-certificates && \
Expand Down

0 comments on commit 3f43641

Please sign in to comment.