-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add cfssl * Install from docker
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
# Install CFSSL from official cfssl.org binaries | ||
ARG CFSSL_VERSION=1.3.2 | ||
FROM cfssl/cfssl:${CFSSL_VERSION} as cfssl | ||
|
||
# Install remaining packages | ||
FROM alpine:3.7 | ||
ENV INSTALL_PATH=/packages/bin | ||
ENV PATH=${INSTALL_PATH}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
RUN mkdir -p ${INSTALL_PATH} | ||
RUN apk add --update --no-cache make curl coreutils libc6-compat | ||
|
||
COPY --from=cfssl /go/bin/ ${INSTALL_PATH}/ | ||
|
||
ADD . /packages | ||
RUN make -C /packages/install/ all | ||
WORKDIR /opt |
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