mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 23:46:06 +08:00
fix: 移除上次pr新增的不必要的环境变量,这样就不必再调整这个名称了
This commit is contained in:
parent
e70afd3e2c
commit
9e31b9cd3e
|
@ -1,18 +1,13 @@
|
|||
FROM node:lts-alpine
|
||||
ARG QL_MAINTAINER="whyour"
|
||||
LABEL maintainer="${QL_MAINTAINER}"
|
||||
ARG QL_URL=http://localhost:5600
|
||||
ARG QL_REPOSITORY_URL=https://github.com/${QL_MAINTAINER}/qinglong.git
|
||||
ARG QL_URL=https://github.com/${QL_MAINTAINER}/qinglong.git
|
||||
ARG QL_BRANCH=master
|
||||
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
|
||||
LANG=zh_CN.UTF-8 \
|
||||
SHELL=/bin/bash \
|
||||
PS1="\u@\h:\w \$ " \
|
||||
QL_DIR=/ql \
|
||||
QL_URL=${QL_URL} \
|
||||
QL_MAINTAINER=${QL_MAINTAINER} \
|
||||
QL_REPOSITORY_URL=${QL_REPOSITORY_URL} \
|
||||
QL_BRANCH=${QL_BRANCH}
|
||||
QL_DIR=/ql
|
||||
WORKDIR ${QL_DIR}
|
||||
RUN set -x \
|
||||
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
||||
|
@ -36,7 +31,7 @@ RUN set -x \
|
|||
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& echo "Asia/Shanghai" > /etc/timezone \
|
||||
&& touch ~/.bashrc \
|
||||
&& git clone -b ${QL_BRANCH} ${QL_REPOSITORY_URL} ${QL_DIR} \
|
||||
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
|
||||
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
||||
&& git config --global user.name "qinglong" \
|
||||
&& cd ${QL_DIR} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user