diff --git a/Dockerfile b/Dockerfile index a8cb2cd..8b3f7ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.14 +FROM alpine:3.19 RUN apk update && apk add \ aws-cli \ @@ -9,7 +9,7 @@ RUN apk update && apk add \ postgresql-client \ python3 \ redis \ - stunnel + stunnel # Add local scripts to global scope COPY bin/ /usr/local/bin/ diff --git a/Makefile b/Makefile index 27a6d29..6d8d658 100644 --- a/Makefile +++ b/Makefile @@ -4,19 +4,21 @@ BATS_ARGS:=--recursive --pretty build: - docker-compose build + docker compose build clean: - docker-compose down -v --remove-orphans + docker compose down -v --remove-orphans production: docker build . -t ghcr.io/gsa/cf-backup-manager:latest test: - docker-compose run --rm app test/bats/bin/bats $(BATS_ARGS) test/*.bats + docker compose run --rm app test/bats/bin/bats $(BATS_ARGS) test/*.bats up: - docker-compose up -d + docker compose up -d +down: + docker compose down .PHONY: test