forked from bobobo80/pelican-to-github-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (23 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM python:3.7-slim
LABEL "com.github.actions.name"="Deploy Pelican Site to GitHub Pages"
LABEL "com.github.actions.description"="Deploy Pelican Site to GitHub Pages"
LABEL "com.github.actions.icon"="home"
LABEL "com.github.actions.color"="red"
LABEL "repository"="https://github.com/justgoodin/pelican-to-github-pages"
LABEL "homepage"="https://github.com/justgoodin/pelican-to-github-pages"
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN apt-get update \
&& apt-get install --no-install-recommends -qy git curl bash \
build-essential pkg-config libssl-dev
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get install -y nodejs
# Install Rust to enable cargo package manager
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# install Stork
RUN cargo install stork-search --locked
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]