1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/hans/arm/Dockerfile

23 lines
517 B
Docker
Raw Normal View History

2016-10-28 19:05:25 +02:00
#
# 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 \
2016-11-23 17:19:44 +02:00
&& curl -sSL https://github.com/friedrich/hans/archive/v1.0.tar.gz | tar xz --strip 1 \
2016-10-28 19:05:25 +02:00
&& 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