mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
14 lines
316 B
Docker
14 lines
316 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
# Setup base
|
|
ARG DEHYDRATED_VERSION
|
|
RUN apk add --no-cache curl openssl \
|
|
&& curl -s -o /usr/bin/dehydrated https://raw.githubusercontent.com/lukas2511/dehydrated/v$DEHYDRATED_VERSION/dehydrated \
|
|
&& chmod a+x /usr/bin/dehydrated
|
|
|
|
# Copy data
|
|
COPY data/*.sh /
|
|
|
|
CMD [ "/run.sh" ]
|