mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 13:52:56 -04:00
21 lines
424 B
Docker
21 lines
424 B
Docker
## Buildstage ##
|
|
FROM lsiobase/ubuntu:xenial as buildstage
|
|
|
|
# Build arguments
|
|
ARG VERSION
|
|
|
|
# Add version number for use in container init script
|
|
RUN mkdir -p /root-layer/etc && \
|
|
echo "$VERSION" > /root-layer/etc/version.tc989
|
|
|
|
# Stage local files
|
|
COPY root/ /root-layer/
|
|
|
|
## Single layer deployed image ##
|
|
FROM scratch
|
|
|
|
LABEL maintainer="TheCaptain989"
|
|
|
|
# Copy files from buildstage
|
|
COPY --from=buildstage /root-layer/ /
|