Add Dockerfile for alpine Linux with lighttpd

plus some configuration to make it available at and
fd10:5741:8e20:0000::10, where a sample index.html file can be
downloaded for testing.  Also, make container start in "pdn" network,
the external PDN behind the GGSN
Harald Welte 5 years ago
parent a899ae3688
commit f81dfad75f
  1. 2
  2. 19
  3. 3
  4. 150
  5. 1

@ -0,0 +1,2 @@

@ -0,0 +1,19 @@
FROM alpine:latest
MAINTAINER Harald Welte <>
RUN apk --update add lighttpd && \
rm -rf /var/cache/apk/* && \
mkdir -p /etc/lighttpd/lighttpd.conf.d && \
touch /etc/lighttpd/lighttpd.conf.d/empty && \
echo 'include_shell "cat /etc/lighttpd/lighttpd.conf.d/*"' >> /etc/lighttpd/lighttpd.conf
VOLUME /etc/lighttpd/lighttpd.conf.d
COPY ipv6.conf /etc/lighttpd/lighttpd.conf.d/
VOLUME /var/www/localhost/htdocs
COPY index.html /var/www/localhost/htdocs/
CMD ["/usr/sbin/lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]

@ -0,0 +1,3 @@
RUN_ARGS?=--sysctl net.ipv6.conf.all.disable_ipv6=0 --rm --network pdn --ip --ip6 fd10:5741:8e20:0000::10 -v httpd-vol:/etc/lighttpd/lighttpd.conf.d --stop-signal SIGINT
include ../make/Makefile

@ -0,0 +1,150 @@
<!DOCTYPE html>
<html prefix="og: article: " lang="en">
<meta charset="utf-8">
<base href="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to LaForge's personal homepage | LaForge's home page</title>
<link href="assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
<meta content="#5670d4" name="theme-color">
<link rel="alternate" type="application/rss+xml" title="RSS" href="blog/rss.xml">
<link rel="alternate" type="application/atom+xml" title="Atom" href="blog/index.atom">
<link rel="canonical" href="">
<!--[if lt IE 9]><script src="assets/js/html5.js"></script><![endif]--><meta name="author" content="Harald Welte">
<meta property="og:site_name" content="LaForge's home page">
<meta property="og:title" content="Welcome to LaForge's personal homepage">
<meta property="og:url" content="">
<meta property="og:description" content="This is the personal home page of Harald 'LaForge' Welte, a Free and
Open Source Software developer, hacktivist, nerd and motorbike enthusiast.
Next to some general information about me, my projects a">
<meta property="og:type" content="article">
<meta property="article:published_time" content="2016-05-23T13:33:38+02:00">
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
<!-- Menubar -->
<nav class="navbar navbar-inverse navbar-static-top"><div class="container">
<!-- This keeps the margins nice -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar" aria-controls="bs-navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="navbar-brand" href="">
<span id="blog-title">LaForge's home page</span>
<!-- /.navbar-header -->
<div class="collapse navbar-collapse" id="bs-navbar" aria-expanded="false">
<ul class="nav navbar-nav">
<a href="about">About</a>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Projects <b class="caret"></b></a>
<ul class="dropdown-menu">
<a href="projects/free-software">Free Software: General</a>
<a href="projects/osmocom">Free Software: Osmocom</a>
<a href="projects/open-hardware">Open Hardware</a>
<a href="projects/license-compliance">License Compliance</a>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Blog <b class="caret"></b></a>
<ul class="dropdown-menu">
<a href="blog">Main Page</a>
<a href="blog/categories">Categories</a>
<a href="blog/tags">Tags</a>
<a href="blog/archive">Archive</a>
<a href="blog/rss.xml">RSS feed</a>
<a href="blog/categories/talks">Publications</a>
<a href="contact">Contact</a>
<a href="work">Work</a>
<ul class="nav navbar-nav navbar-right"></ul>
<!-- /.navbar-collapse -->
<!-- /.container -->
</nav><!-- End of Menubar --><div class="container" id="content" role="main">
<div class="body-content">
<!--Body content-->
<div class="row">
<article class="storypage" itemscope="itemscope" itemtype=""><header><h1 class="p-name entry-title" itemprop="headline name"><a href="." class="u-url">Welcome to LaForge's personal homepage</a></h1>
</header><div class="e-content entry-content" itemprop="articleBody text">
<p>This is the personal home page of Harald 'LaForge' Welte, a Free and
Open Source Software developer, hacktivist, nerd and motorbike enthusiast.</p>
<p>Next to some general information about me, my projects and work,
this page also hosts my <a class="reference external" href="blog">blog</a>, which I've been maintaining
intermittently since 2002.</p>
<p>Some links to help navigating the site:</p>
<ul class="simple">
<a class="reference external" href="about/">About</a> Harald Welte</li>
<li><a class="reference external" href="affiliations/">Affiliations</a></li>
<li><a class="reference external" href="work/">Work related information</a></li>
<li><a class="reference external" href="projects/free-software/">Free Software projects</a></li>
<li><a class="reference external" href="projects/license-compliance/">My work on Licence Compliance</a></li>
<li><a class="reference external" href="">Slides + Videos of Presentations/talks</a></li>
<!--End of body content-->
<footer id="footer">
Contents © 2002-2017 <a href="">Harald Welte</a> - Powered by <a href="" rel="nofollow">Nikola</a>
<script src="assets/js/all-nocdn.js"></script><script>$('a.image-reference:not(.islink) img:not(.islink)').parent().colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script><!-- fancy dates --><script>
fancydates(0, "YYYY-MM-DD");
</script><!-- end fancy dates -->

@ -0,0 +1 @@
server.bind = "[::]"