Fix Docker Problem (#1785)

This commit is contained in:
Amir Pourmand 2023-10-02 12:57:02 +03:30 committed by GitHub
parent b838eff2b1
commit 67c325101c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,5 @@
FROM bitnami/minideb:latest
FROM ubuntu:latest
ENV DEBIAN_FRONTEND noninteractive
Label MAINTAINER Amir Pourmand
@ -8,8 +9,8 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
ruby-full \
build-essential \
zlib1g-dev \
python3-pip && rm -rf /var/lib/apt/lists/*
jupyter-nbconvert && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
@ -19,8 +20,6 @@ ENV LANG=en_US.UTF-8 \
LC_ALL=en_US.UTF-8 \
JEKYLL_ENV=production
RUN python3 -m pip install jupyter --break-system-packages --no-cache-dir
# install jekyll and dependencies
RUN gem install jekyll bundler