This commit is contained in:
parent
72f8797df4
commit
c1284e3f98
2 changed files with 9 additions and 2 deletions
|
@ -4,8 +4,9 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: gcc
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
|
- apk update && apk add make git build-base linux-headers musl-dev
|
||||||
- git clone https://git.friedl.net/playground/suckless-quark.git
|
- git clone https://git.friedl.net/playground/suckless-quark.git
|
||||||
- cd suckless-quark
|
- cd suckless-quark
|
||||||
- git checkout dirlist
|
- git checkout dirlist
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
|
RUN adduser web --disabled-password --no-create-home --shell /sbin/nologin && \
|
||||||
|
addgroup web web && \
|
||||||
|
mkdir -p /var/www/html
|
||||||
|
|
||||||
COPY suckless-quark/quark /usr/local/bin
|
COPY suckless-quark/quark /usr/local/bin
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/sh"]
|
EXPOSE 8080
|
||||||
|
|
||||||
|
ENTRYPOINT ["quark", "-p", "8080", "-u", "web", "-g", "web", "-n", "4096", "-l", "-d", "/var/www/html"]
|
||||||
|
|
Loading…
Reference in a new issue