FROM debian:buster-slim
LABEL maintainer "mikoto2000 <[email protected]>"
LABEL version="v1.8.4"
LABEL description "sphinx: 1.8.4"
RUN apt-get update && apt-get -y install \
python3-pip \
locales \
locales-all \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# sphinx 環境構築
RUN pip3 install -U sphinx
# 日本語パス対応
ENV LANG=ja_JP.UTF-8
FROM debian:stretch-slim
LABEL maintainer "mikoto2000 <[email protected]>"
# ベースのアップグレード
RUN apt-get -y update
RUN apt-get -y upgrade && apt-get -y clean
# sphinx 環境構築
RUN apt-get -y install python3-pip && apt-get -y clean
RUN pip3 install -U sphinx
# 日本語パス対応
RUN apt-get -y install locales locales-all && apt-get -y clean
ENV LANG=ja_JP.UTF-8
FROM debian:stretch-slim
# ベースのアップグレード
RUN apt-get -y update
RUN apt-get -y upgrade && apt-get -y clean
# sphinx 環境構築
RUN apt-get -y install make && apt-get -y clean
RUN apt-get -y install sphinx-common && apt-get -y clean
# nodejs 環境構築
RUN apt-get -y install curl && apt-get -y clean
RUN apt-get -y install gnupg1 gnupg2 && apt-get -y clean
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get -y install -y nodejs && apt-get -y clean
# textlint 環境構築
RUN npm install -g textlint
RUN npm install -g prh
RUN npm install -g textlint-rule-prh
# textlint を rst 対応させるためのもの
RUN apt-get -y install -y python-pip && apt-get -y clean
RUN pip install docutils-ast-writer
RUN npm install -g textlint-plugin-rst
# textlint 結果可視化するための環境構築
RUN apt-get -y install lcov && apt-get -y clean
RUN npm install -g textlint-formatter-lcov
# 技術文章向けのルールプリセット
RUN npm install -g textlint-rule-preset-ja-technical-writing
# これを入れないと日本語ディレクトリでエラーになるので追加
RUN apt-get -y install locales locales-all && apt-get -y clean
ENV LANG=ja_JP.UTF-8
Content type
Image
Digest
Size
286.6 MB
Last updated
over 7 years ago
docker pull mikoto2000/sphinx