Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/idcrook/alpine-lighttpd-static

Tiny image for serving static content
https://github.com/idcrook/alpine-lighttpd-static

Last synced: 1 day ago
JSON representation

Tiny image for serving static content

Awesome Lists containing this project

README

        

[dpcrook/alpine-lighttpd-static Tags | Docker Hub](https://hub.docker.com/r/dpcrook/alpine-lighttpd-static/tags)

Build arm64v8 version
=====================

```shell
TAG_VERSION=14.77.0-arm64v8
sudo docker build --no-cache -t alpine-lighttpd-static:${TAG_VERSION} -f Dockerfile.arm64v8 .
sudo docker run --name "my-lighttpd" --rm -P -t -d \
-v `pwd`/static:/var/www/htdocs \
alpine-lighttpd-static:${TAG_VERSION}
sudo docker exec -it my-lighttpd /bin/sh -i
# grep ^ /var/log/lighttpd/*.log
# ls -la /var/lib/lighttpd/cache/deflate/
# exit
# sudo docker ps
# curl 0.0.0.0:32768 # get actual port from previous command output
# curl -6 [::]:32768
sudo docker stop

sudo docker login
sudo docker tag alpine-lighttpd-static:${TAG_VERSION} dpcrook/alpine-lighttpd-static:${TAG_VERSION}
sudo docker push dpcrook/alpine-lighttpd-static:${TAG_VERSION}
sudo docker tag alpine-lighttpd-static:${TAG_VERSION} dpcrook/alpine-lighttpd-static:latest-arm64v8
sudo docker push dpcrook/alpine-lighttpd-static:latest-arm64v8

# FIXME: add multi-arch manifest support
# docker tag alpine-lighttpd-static:${TAG_VERSION} dpcrook/alpine-lighttpd-static:latest
# docker push dpcrook/alpine-lighttpd-static:latest
```