Begin a basic Dockerfile
这个提交包含在:
父节点
8b125c7775
当前提交
ba8815a3eb
16
Dockerfile
普通文件
16
Dockerfile
普通文件
@ -0,0 +1,16 @@
|
||||
FROM alpine:edge
|
||||
RUN apk update
|
||||
RUN apk upgrade
|
||||
RUN apk add sqlite-dev
|
||||
RUN apk add boost-regex
|
||||
RUN apk add openssl-dev
|
||||
RUN apk add make g++
|
||||
RUN apk add boost-dev
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN adduser -D qswiki
|
||||
RUN chown -R qswiki .
|
||||
RUN mkdir /config/ /cache/
|
||||
USER qswiki
|
||||
RUN make release
|
||||
ENTRYPOINT /app/qswiki /config/qswiki.conf
|
正在加载...
在新工单中引用
屏蔽一个用户