17 lines
494 B
Docker
17 lines
494 B
Docker
FROM cloudron/base:5.0.0 AS base
|
|
|
|
# RUN apt-get update ; apt-get install -y \
|
|
# curl
|
|
|
|
WORKDIR /app/bin
|
|
ADD https://garagehq.deuxfleurs.fr/_releases/v2.1.0/aarch64-unknown-linux-musl/garage /app/bin/garage
|
|
|
|
# Garage wants these directories for storing stuff.
|
|
# We want it here so that /app/data gets backed up.
|
|
RUN mkdir -p /app/data/garage/data /app/data/garage/meta
|
|
|
|
WORKDIR /app/data
|
|
COPY garage.toml /app/data/garage.toml
|
|
|
|
ADD start.bash /app/data/start.bash
|
|
CMD [ "/app/data/start.bash" ] |