1 Star 0 Fork 0

NATS/docker-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
Tianon Gravi 提交于 2020-03-26 15:29 . Update to Mojolicious 8.35
FROM perl:5.30-buster
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
vim \
# https://bugs.debian.org/763056 - SVG rendering in ImageMagick looks awful unless it can use inkscape to render (or RSVG, which is explicitly not compiled into the Debian package??)
inkscape \
; \
rm -rf /var/lib/apt/lists/*
# secure by default ♥ (thanks to sri!)
ENV PERL_CPANM_OPT --verbose --mirror https://cpan.metacpan.org
# TODO find a way to make --mirror-only / SSL work with backpan too :(
RUN cpanm Digest::SHA Module::Signature
# TODO find a way to make --verify work with backpan as well :'(
#ENV PERL_CPANM_OPT $PERL_CPANM_OPT --verify
# reinstall cpanm itself, for good measure
RUN cpanm App::cpanminus
RUN cpanm EV
RUN cpanm IO::Socket::IP
RUN cpanm --notest IO::Socket::SSL
# the tests for IO::Socket::SSL like to hang... :(
RUN cpanm Term::UI
ENV LANG C.UTF-8
RUN mkdir ~/.vim ~/.vim/bundle ~/.vim/autoload
RUN set -x \
&& git clone https://github.com/tpope/vim-pathogen.git ~/.vim/bundle/pathogen \
&& ln -s ../bundle/pathogen/autoload/pathogen.vim ~/.vim/autoload/
RUN git clone https://github.com/jtratner/vim-flavored-markdown.git ~/.vim/bundle/ghmarkdown
RUN git clone https://github.com/nanotech/jellybeans.vim.git ~/.vim/bundle/jellybeans
RUN { \
echo 'scriptencoding utf-8'; \
\
echo 'execute pathogen#infect()'; \
\
echo 'syntax on'; \
echo 'filetype plugin indent on'; \
echo 'set list listchars=tab:»·,nbsp:_,extends:¬ noet ts=4 sw=4 nobackup noswapfile'; \
\
echo 'set background=dark'; \
echo 'colorscheme jellybeans'; \
\
echo 'au FilterWritePre * if &diff | setlocal wrap< | endif'; \
\
echo 'au BufNewFile,BufRead *.md,*.markdown setlocal filetype=ghmarkdown'; \
} > ~/.vimrc
COPY . /usr/src/docker-library-docs
WORKDIR /usr/src/docker-library-docs
CMD ["./push.pl"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nats-io/docker-docs.git
[email protected]:nats-io/docker-docs.git
nats-io
docker-docs
docker-docs
master

搜索帮助