Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using minideb as docker image instead of alpine #15

Merged
merged 1 commit into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions Dockerfile.alpine

This file was deleted.

10 changes: 10 additions & 0 deletions Dockerfile.minideb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM bitnami/minideb:stretch

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y ca-certificates && \
update-ca-certificates && \
apt-get clean

COPY tmp/freenas-provisioner /
ENTRYPOINT ["/freenas-provisioner"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $(BIN):
image: tmp check-docker-hub
wget -O tmp/freenas-provisioner https://github.com/nmaupu/freenas-provisioner/releases/download/v$(IMAGE_VERSION)/freenas-provisioner_linux-amd64 && \
chmod +x tmp/freenas-provisioner
docker build -t $(IMAGE_NAME):$(IMAGE_VERSION) -f Dockerfile.alpine .
docker build -t $(IMAGE_NAME):$(IMAGE_VERSION) -f Dockerfile.minideb .

.PHONY: tag
tag: image
Expand Down