Build apline quark
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Armin Friedl 2020-08-30 20:04:18 +02:00
parent 72f8797df4
commit c1284e3f98
2 changed files with 9 additions and 2 deletions

View file

@ -4,8 +4,9 @@ name: default
steps:
- name: build
image: gcc
image: alpine
commands:
- apk update && apk add make git build-base linux-headers musl-dev
- git clone https://git.friedl.net/playground/suckless-quark.git
- cd suckless-quark
- git checkout dirlist

View file

@ -1,5 +1,11 @@
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
ENTRYPOINT ["/bin/sh"]
EXPOSE 8080
ENTRYPOINT ["quark", "-p", "8080", "-u", "web", "-g", "web", "-n", "4096", "-l", "-d", "/var/www/html"]