mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-04 20:14:56 +01:00
add hans-arm
This commit is contained in:
22
hans/arm/Dockerfile
Normal file
22
hans/arm/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# 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
|
||||
8
hans/arm/docker-compose.yml
Normal file
8
hans/arm/docker-compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
hans:
|
||||
image: easypi/hans-arm
|
||||
environment:
|
||||
- SERVER=1.2.3.4
|
||||
- PASSWORD=password
|
||||
net: host
|
||||
privileged: yes
|
||||
restart: always
|
||||
Reference in New Issue
Block a user