Skip to content

Commit 616afef

Browse files
authored
Update Dockerfile
1 parent e7c5c29 commit 616afef

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

Dockerfile

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
FROM fedora:24
1+
FROM ubuntu:latest
22

3-
ARG git_username
4-
ARG git_useremail
5-
ARG gid
6-
ARG group
7-
ARG uid
8-
ARG user
9-
RUN groupadd -g $gid $group || true && useradd -u $uid -g $gid -d /home/$user $user
10-
11-
RUN dnf -y install python3-pip wget git make bash
12-
RUN git config --global user.name $git_username && git config --global user.email $git_useremail
13-
RUN pip3 install pelican pelican-youtube beautifulsoup4
14-
RUN git clone --recursive https://github.com/getpelican/pelican-plugins /pelican-plugins
3+
RUN apt-get update && apt-get -y install python3-pip make bash git
4+
RUN pip3 install pelican pelican-youtube markdown pelican-gist beautifulsoup4
5+
RUN git clone https://github.com/amitsaha/pelican-svbhack /tmp/pelican-svbhack
6+
RUN git clone --recursive https://github.com/getpelican/pelican-plugins /tmp/pelican-plugins
157
WORKDIR /site
16-
USER $user
178
ENTRYPOINT ["make", "build"]

0 commit comments

Comments
 (0)