Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
download directly in this dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Kulka committed Jul 13, 2018
1 parent 08250c3 commit e32a006
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
FROM micromdm/micromdm:1.2.0-5-ge3348a9
FROM alpine:3.3

ENV MICROMDM_VERSION=v1.3.1

RUN apk --no-cache add curl && \
curl -L https://github.com/micromdm/micromdm/releases/download/${MICROMDM_VERSION}/micromdm-linux-amd64 -o /micromdm && \
chmod a+x /micromdm && \
apk del curl

COPY run.sh /run.sh

RUN mkdir /config /certs /repo && \
Expand Down

0 comments on commit e32a006

Please sign in to comment.