Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1945. Thanks to Andreas Schildbach.
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
FROM alpine:latest AS build | ||
FROM alpine:edge AS build | ||
|
||
# A released dist version, like "1.2.3" | ||
ARG VERSION | ||
RUN test -n "${VERSION}" | ||
|
||
RUN apk --no-cache add \ | ||
build-base \ | ||
openssl-dev \ | ||
c-ares-dev \ | ||
ca-certificates \ | ||
cjson-dev \ | ||
curl \ | ||
util-linux-dev \ | ||
libwebsockets-dev \ | ||
libxslt \ | ||
openssl-dev \ | ||
python2 \ | ||
ca-certificates | ||
util-linux-dev | ||
|
||
# This build procedure is based on: | ||
# https://github.com/alpinelinux/aports/blob/master/main/mosquitto/APKBUILD | ||
|
@@ -48,6 +49,7 @@ LABEL maintainer="Jonathan Hanson <[email protected]>" \ | |
RUN apk --no-cache add \ | ||
busybox \ | ||
ca-certificates \ | ||
cjson \ | ||
openssl \ | ||
libuuid \ | ||
libwebsockets \ | ||
|