Skip to content

Commit

Permalink
Using minideb as docker image instead of alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaupu committed Dec 4, 2018
1 parent bd664e7 commit 2f5492f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
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

0 comments on commit 2f5492f

Please sign in to comment.