1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/hans/arm/Dockerfile
2016-10-29 01:05:25 +08:00

23 lines
519 B
Docker

#
# Dockerfile for hans-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache build-base curl libstdc++ linux-headers tar \
&& mkdir hans \
&& cd hans \
&& curl -sSL https://github.com/friedrich/hans/archive/v0.4.4.tar.gz | tar xz --strip 1 \
&& make \
&& mv hans /usr/bin/hans \
&& cd .. \
&& rm -rf hans \
&& apk del build-base curl linux-headers tar
ENV SERVER 1.2.3.4
ENV PASSWORD password
CMD hans -f -c $SERVER -p $PASSWORD