Skip to content

Commit 67c3251

Browse files
authored
Fix Docker Problem (alshedivat#1785)
1 parent b838eff commit 67c3251

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
FROM bitnami/minideb:latest
1+
FROM ubuntu:latest
2+
ENV DEBIAN_FRONTEND noninteractive
23

34
Label MAINTAINER Amir Pourmand
45

56
RUN apt-get update -y && apt-get install -y --no-install-recommends \
6-
locales \
7+
locales \
78
imagemagick \
89
ruby-full \
910
build-essential \
1011
zlib1g-dev \
11-
python3-pip && rm -rf /var/lib/apt/lists/*
12-
12+
jupyter-nbconvert && \
13+
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
1314

1415
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
1516
locale-gen
1617

1718
ENV LANG=en_US.UTF-8 \
1819
LANGUAGE=en_US:en \
1920
LC_ALL=en_US.UTF-8 \
20-
JEKYLL_ENV=production
21-
22-
RUN python3 -m pip install jupyter --break-system-packages --no-cache-dir
21+
JEKYLL_ENV=production
2322

2423
# install jekyll and dependencies
2524
RUN gem install jekyll bundler
@@ -30,7 +29,7 @@ ADD Gemfile /srv/jekyll
3029

3130
WORKDIR /srv/jekyll
3231

33-
RUN bundle install --no-cache
32+
RUN bundle install --no-cache
3433
# && rm -rf /var/lib/gems/3.1.0/cache
3534
EXPOSE 8080
3635

0 commit comments

Comments
 (0)