Browse Source

include tzdata in docker to support TZ env var again (#50)

pull/51/head
Jason Dove 4 years ago committed by GitHub
parent
commit
77cb2c2270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker/Dockerfile
  2. 2
      docker/docker-compose.yml
  3. 2
      docker/nvidia/Dockerfile
  4. 2
      docker/vaapi/Dockerfile

2
docker/Dockerfile

@ -2,7 +2,7 @@
FROM jrottenberg/ffmpeg:4.3-ubuntu2004 AS runtime-base FROM jrottenberg/ffmpeg:4.3-ubuntu2004 AS runtime-base
COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet
RUN apt-get update && apt-get install -y libicu-dev RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu-dev tzdata
# https://hub.docker.com/_/microsoft-dotnet # https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build

2
docker/docker-compose.yml

@ -7,6 +7,8 @@ services:
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
args: args:
INFO_VERSION: "docker-compose-develop" INFO_VERSION: "docker-compose-develop"
environment:
TZ: America/Chicago
ports: ports:
- "8409:8409" - "8409:8409"
volumes: volumes:

2
docker/nvidia/Dockerfile

@ -2,7 +2,7 @@
FROM jrottenberg/ffmpeg:4.3-nvidia1804 AS runtime-base FROM jrottenberg/ffmpeg:4.3-nvidia1804 AS runtime-base
COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet
RUN apt-get update && apt-get install -y libicu-dev RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu-dev tzdata
# https://hub.docker.com/_/microsoft-dotnet # https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build

2
docker/vaapi/Dockerfile

@ -2,7 +2,7 @@
FROM jrottenberg/ffmpeg:4.3-vaapi1804 AS runtime-base FROM jrottenberg/ffmpeg:4.3-vaapi1804 AS runtime-base
COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet
RUN apt-get update && apt-get install -y libicu-dev RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu-dev tzdata
# https://hub.docker.com/_/microsoft-dotnet # https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build

Loading…
Cancel
Save