Add lighttpd-alpine Dockerfiles
This commit is contained in:
parent
28a8633c65
commit
6822a3b61f
2 changed files with 10 additions and 0 deletions
8
lighttpd-alpine/Dockerfile
Normal file
8
lighttpd-alpine/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
# Install lighttpd
|
||||||
|
RUN apk add lighttpd
|
||||||
|
|
||||||
|
# Run lighttpd in foreground with config file /etc/lighttpd/lighttpd.conf
|
||||||
|
USER root
|
||||||
|
CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]
|
2
lighttpd-alpine/build.sh
Executable file
2
lighttpd-alpine/build.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
docker pull alpine:latest
|
||||||
|
docker build --no-cache -t lighttpd-alpine .
|
Loading…
Reference in a new issue