我试图在该分支的 readme.md 上显示我的分支的构建状态。
https://mygitlab.com/<namespace>/<project>/badges/<branch>/coverage.svg 我试过这个,但分支占位符没有得到评估。
我有节点应用程序,在一个用例中,我使用python-shell. 我正在尝试在 docker 上设置这个应用程序,我的 Dockerfile 看起来像这样
FROM debian:latest
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# update the repository sources list
# and install dependencies
RUN apt-get update \
&& apt-get install -y curl \
&& apt-get -y autoclean
# nvm environment variables
ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 10.15.3
# install nvm
# https://github.com/creationix/nvm#install-script
RUN curl --silent -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash
# install node and npm
RUN …Run Code Online (Sandbox Code Playgroud)