# HG changeset patch # User Dirk Olmes # Date 1448511746 -3600 # Node ID 3f1e1c2fff0d9c094ef4d7e167e4a848b5a45c22 initial import diff -r 000000000000 -r 3f1e1c2fff0d Dockerfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Dockerfile Thu Nov 26 05:22:26 2015 +0100 @@ -0,0 +1,44 @@ +FROM gliderlabs/alpine:3.2 +MAINTAINER Dirk Olmes + +RUN apk add --update lighttpd wget && \ + rm -rf /var/cache/apk/* && \ + # + # enable directory listings + # + echo "dir-listing.activate = \"enable\"" >> /etc/lighttpd/lighttpd.conf && \ + # + # populate the docroot + # + cd /var/www/localhost/htdocs && \ + mkdir -p alpine/v3.2/main/x86_64 && \ + cd alpine/v3.2/main/x86_64 && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ca-certificates-20141019-r2.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/curl-7.42.1-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/expat-2.1.0-r1.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/gdbm-1.11-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libbz2-1.0.6-r3.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libffi-3.2.1-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libgcc-4.9.2-r5.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libssh2-1.5.0-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-5.2.4-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-libs-5.2.4-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-posix-33.3.1-r2.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-libs-5.9-r3.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-terminfo-base-5.9-r3.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-widec-libs-5.9-r3.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/openssl-1.0.2d-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/py-meld3-1.0.2-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/py-setuptools-1.1.7-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/python-2.7.10-r1.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/readline-6.3.008-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/run-parts-4.4-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/sqlite-libs-3.8.10.2-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/sudo-1.8.15-r0.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/supervisor-3.1.3-r1.apk && \ + wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/tar-1.28-r0.apk && \ + ls -la + +EXPOSE 80 +CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"] diff -r 000000000000 -r 3f1e1c2fff0d Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Thu Nov 26 05:22:26 2015 +0100 @@ -0,0 +1,10 @@ +NAMESPACE=base-image +IMAGE=alpine-repository + +all: build + +build: + @docker build --tag=${NAMESPACE}/${IMAGE} . + +release: build + @docker tag ${NAMESPACE}/${IMAGE}:latest ${NAMESPACE}/${IMAGE}:$(shell cat VERSION) diff -r 000000000000 -r 3f1e1c2fff0d docker-compose.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker-compose.yml Thu Nov 26 05:22:26 2015 +0100 @@ -0,0 +1,4 @@ +alpine-repository: + image: base-image/alpine-repository:latest + ports: + - 8082:80