Fix Docker Problem (#1785)
This commit is contained in:
parent
b838eff2b1
commit
67c325101c
|
|
@ -1,4 +1,5 @@
|
||||||
FROM bitnami/minideb:latest
|
FROM ubuntu:latest
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
Label MAINTAINER Amir Pourmand
|
Label MAINTAINER Amir Pourmand
|
||||||
|
|
||||||
|
|
@ -8,8 +9,8 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||||
ruby-full \
|
ruby-full \
|
||||||
build-essential \
|
build-essential \
|
||||||
zlib1g-dev \
|
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 && \
|
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||||
locale-gen
|
locale-gen
|
||||||
|
|
@ -19,8 +20,6 @@ ENV LANG=en_US.UTF-8 \
|
||||||
LC_ALL=en_US.UTF-8 \
|
LC_ALL=en_US.UTF-8 \
|
||||||
JEKYLL_ENV=production
|
JEKYLL_ENV=production
|
||||||
|
|
||||||
RUN python3 -m pip install jupyter --break-system-packages --no-cache-dir
|
|
||||||
|
|
||||||
# install jekyll and dependencies
|
# install jekyll and dependencies
|
||||||
RUN gem install jekyll bundler
|
RUN gem install jekyll bundler
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue