add tile38-arm

This commit is contained in:
kev 2021-09-10 17:09:09 +08:00
parent d18d79b475
commit b336b80910
3 changed files with 30 additions and 0 deletions

View File

@ -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

20
tile38/arm/Dockerfile Normal file
View File

@ -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"]

View File

@ -0,0 +1,9 @@
version: "3.8"
services:
tile38:
image: easypi/tile38-arm
ports:
- "9851:9851"
volumes:
- ./data:/data
restart: unless-stopped