From 0516a7741674d8bd526e2b6dd4e9c05f61c6d6bd Mon Sep 17 00:00:00 2001 From: robrotheram Date: Wed, 24 Aug 2022 10:54:05 +0100 Subject: [PATCH] Upadated circleci --- Dockerfile | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f06ce9c..11969f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN apt-get update; apt-get install -y libvips && rm -rf /var/lib/apt/lists/* RUN mkdir /app # Copy the current directory contents into the container at /app diff --git a/Makefile b/Makefile index 8e3c9be..d985f6e 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,8 @@ package: build-linux: cd server && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_UNIX) -v docker: - docker build . -t robrotheram/gogallery:$(CIRCLE_BRANCH) - docker build . -t robrotheram/gogallery:latest + DOCKER_BUILDKIT=1 docker build . -t robrotheram/gogallery:$(CIRCLE_BRANCH) + DOCKER_BUILDKIT=1 docker build . -t robrotheram/gogallery:latest docker-publish: docker push robrotheram/gogallery:$(CIRCLE_BRANCH) docker push robrotheram/gogallery:latest \ No newline at end of file