Mailcow: Make compatible with Minikube.
Change-Id: I4682e4ae715052f101d382f1b384caa357fac1ce
diff --git a/mailcow/src/mailcow-dockerized/.env b/mailcow/src/mailcow-dockerized/.env
deleted file mode 120000
index 9400869..0000000
--- a/mailcow/src/mailcow-dockerized/.env
+++ /dev/null
@@ -1 +0,0 @@
-mailcow.conf
\ No newline at end of file
diff --git a/makefile b/makefile
index ee955d7..44f6f85 100644
--- a/makefile
+++ b/makefile
@@ -37,20 +37,20 @@
#
# Takes ~240 seconds (nextcloud image):
#
-# $(IMAGES):
-# $(NIX_DOCKER) sh -c '$$(nix-build images.nix -A $@.streamed)' | $(DOCKER) load
+#%.load: images.nix
+# $(NIX_DOCKER) sh -c '$$(nix-build --no-out-link images.nix -A $(patsubst %.load,%,$@).streamed)' | $(DOCKER) load
#
# Takes ~60 seconds (nextcloud image):
#
-# $(IMAGES):
-# $(NIX_DOCKER) sh -c 'cat $$(nix-build images.nix -A $@.layered)' | $(DOCKER) load
+#%.load: images.nix
+# $(NIX_DOCKER) sh -c 'cat $$(nix-build --no-out-link images.nix -A $(patsubst %.load,%,$@).layered)' | $(DOCKER) load
#
# The final approach takes ~20 seconds to build the nextcloud image.
# Builds a Docker image as a .bin file that you can load with 'docker
# load'.
%.bin: images.nix
- $(NIX_DOCKER) sh -c 'cp $$(nix-build images.nix -A $(patsubst %.bin,%,$@).layered) $@'
+ $(NIX_DOCKER) sh -c 'cp $$(nix-build --no-out-link images.nix -A $(patsubst %.bin,%,$@).layered) $@'
# Builds and loads a Docker image into your local Docker daemon.
%.load: %.bin