# syntax=docker/dockerfile:1 # Skeleton for a new image. Copy this directory to images// and edit. # # Conventions worth keeping: # * leave upstream tags and package versions unpinned, so a rebuild picks up # updates — the published image tag is what pins things for consumers # * keep the ARG/LABEL block last, so changing build metadata does not # invalidate the layers above it # # To build on top of an image already published here, replace the FROM with: # FROM gitea.libretechconsulting.com/rmcguire/node-agent:latest FROM alpine:3 # hadolint ignore=DL3018 RUN apk add --no-cache bash ca-certificates CMD ["bash"] ARG VERSION=dev ARG REVISION=unknown ARG CREATED=unknown LABEL org.opencontainers.image.title="CHANGEME" \ org.opencontainers.image.description="CHANGEME" \ org.opencontainers.image.source="https://gitea.libretechconsulting.com/rmcguire/images" \ org.opencontainers.image.base.name="docker.io/library/alpine:3" \ org.opencontainers.image.version="${VERSION}" \ org.opencontainers.image.revision="${REVISION}" \ org.opencontainers.image.created="${CREATED}"