-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use debian only for base image (#517)
Install ca-certificates using apt instead of copying from another base image to not have to download multiple base images.
- Loading branch information
1 parent
fb4fa4c
commit f095b38
Showing
2 changed files
with
6 additions
and
6 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,9 +1,9 @@ | ||
FROM quay.io/deis/lightweight-docker-go:v0.2.0 | ||
FROM debian:stretch | ||
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
|
||
ARG BUNDLE_DIR | ||
|
||
RUN apt-get update && apt-get install -y ca-certificates | ||
|
||
COPY .cnab /cnab | ||
COPY . $BUNDLE_DIR | ||
RUN rm -fr $BUNDLE_DIR/.cnab |