Skip to content

Commit

Permalink
Dockerfile を更新
Browse files Browse the repository at this point in the history
  • Loading branch information
huideyeren authored Aug 27, 2024
1 parent 140f800 commit 9a2e97d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/actions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,8 @@ RUN pip3 install anshitsu
RUN python3 svg.py
RUN python3 grayscaling.py

FROM node:slim as node
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

FROM ruby:slim as base
COPY --from=node /usr/local/bin/node /usr/local/bin
COPY --from=node /pnpm /pnpm
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
ENV VOLTA_HOME=/usr/local
RUN apt update && \
apt install -y autoconf \
bison \
Expand Down Expand Up @@ -59,6 +50,11 @@ RUN apt update && \
poppler-utils && \
apt clean

RUN curl https://get.volta.sh | bash &&\
volta install node@lts pnpm@latest

RUN pnpm install -g @vivliostyle/cli

RUN git clone https://github.com/neologd/mecab-ipadic-neologd.git && \
cd mecab-ipadic-neologd && \
sudo bin/install-mecab-ipadic-neologd -y && \
Expand Down

0 comments on commit 9a2e97d

Please sign in to comment.