From cc401bb9c7447e385ce1df7a2fe1137097f18177 Mon Sep 17 00:00:00 2001 From: "Bora M. Alper" Date: Wed, 18 Sep 2019 02:27:04 +0100 Subject: [PATCH] fix docker tags --- Makefile | 4 ++-- docker-compose.yml | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 22945cd..4d60a13 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,10 @@ magneticow: go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow image-magneticod: - docker build -t magneticod -f Dockerfile.magneticod . + docker build -t boramalper/magneticod -f Dockerfile.magneticod . image-magneticow: - docker build -t magneticow -f Dockerfile.magneticow . + docker build -t boramalper/magneticow -f Dockerfile.magneticow . image: image-magneticod image-magneticow diff --git a/docker-compose.yml b/docker-compose.yml index 42c125b..7afdcbe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,16 +3,18 @@ version: "2" services: magneticod: build: - context: . - dockerfile: Dockerfile.magneticod + image: boramalper/magneticod +# context: . +# dockerfile: Dockerfile.magneticod volumes: - magneticod-data:/root/.local/share/magneticod - magneticod-config:/root/.config/magneticod magneticow: build: - context: . - dockerfile: Dockerfile.magneticow + image: boramalper/magneticow +# context: . +# dockerfile: Dockerfile.magneticow volumes: - magneticod-data:/root/.local/share/magneticod depends_on: