Commit dee12179 authored by Michał Woźniak's avatar Michał Woźniak

VERSION should be a build arg, not an envvar, since it's used solely at buildtime

parent 0714ac60
FROM busybox:latest
MAINTAINER Hubert Dąbrowski <h@dabrow.org>
ENV ACME_STATE_DIR /data
ENV VERSION 0.0.49
ENV ACME_STATE_DIR="/data"
ARG VERSION="0.0.59"
ADD https://github.com/hlandau/acme/releases/download/v${VERSION}/acmetool-v${VERSION}-linux_amd64.tar.gz /opt/
RUN tar -xf /opt/acmetool-v${VERSION}-linux_amd64.tar.gz -C /opt && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment