Force fullclean to remove existing images

This commit is contained in:
Shane Engelman 2023-07-22 23:36:11 -04:00
parent 43021ebdda
commit e371cdedcb
Signed by: shane
GPG Key ID: D9DF703B83B9A9B5
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,6 @@
FROM ruby:3.2.2-alpine AS builder
LABEL stage=distrust-co-builder
RUN apk update && apk add g++ make git git-lfs
RUN mkdir -p /home
COPY Gemfile /home
COPY Gemfile.lock /home
@ -13,5 +11,4 @@ COPY . /home
RUN jekyll build
FROM nginx
COPY --from=builder /home/_site /usr/share/nginx/html

View File

@ -5,7 +5,8 @@ build:
.PHONY: fullclean
fullclean: clean
docker rmi distrust-co
docker rmi distrust-co -f
docker image prune --filter label=stage=distrust-co-builder
.PHONY: clean
clean: