diff --git a/README.md b/README.md index fa6bdc2..a657b03 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ A collection of delicious docker recipes. - [x] hbdg :+1: - [x] node-red :+1: - [x] mosquitto :+1: +- [x] tile38-arm :+1: ## Automation diff --git a/tile38/arm/Dockerfile b/tile38/arm/Dockerfile new file mode 100644 index 0000000..7d2cedb --- /dev/null +++ b/tile38/arm/Dockerfile @@ -0,0 +1,20 @@ +# +# Dockerfile for tile38-arm +# + +FROM alpine:3 +MAINTAINER EasyPi Software Foundation + +ENV TILE38_VERSION=1.25.3 +ENV TILE38_FILE=tile38-${TILE38_VERSION}-linux-arm.tar.gz +ENV TILE38_URL=https://github.com/tidwall/tile38/releases/download/${TILE38_VERSION}/${TILE38_FILE} + +RUN set -xe \ + && apk add --no-cache ca-certificates curl tar \ + && cd /usr/local/bin \ + && curl -sSL ${TILE38_URL} | tar xz --strip 1 + +VOLUME /data +EXPOSE 9851 + +CMD ["tile38-server", "-d", "/data"] diff --git a/tile38/arm/docker-compose.yml b/tile38/arm/docker-compose.yml new file mode 100644 index 0000000..1569194 --- /dev/null +++ b/tile38/arm/docker-compose.yml @@ -0,0 +1,9 @@ +version: "3.8" +services: + tile38: + image: easypi/tile38-arm + ports: + - "9851:9851" + volumes: + - ./data:/data + restart: unless-stopped