From cf492ec30732acaad5657abb2e9948b0814f74b7 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 16 Aug 2022 12:45:56 +0200 Subject: [PATCH] removed unused image --- tasks/Dockerfile | 10 ---------- tasks/Makefile | 15 --------------- tasks/entrypoint.sh | 11 ----------- 3 files changed, 36 deletions(-) delete mode 100644 tasks/Dockerfile delete mode 100644 tasks/Makefile delete mode 100644 tasks/entrypoint.sh diff --git a/tasks/Dockerfile b/tasks/Dockerfile deleted file mode 100644 index e387a1a..0000000 --- a/tasks/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM alpine:3.14 - -RUN apk add --update --no-cache \ - docker-compose \ - docker - -COPY entrypoint.sh /entrypoint -RUN chmod +x /entrypoint - -ENTRYPOINT ["/entrypoint"] diff --git a/tasks/Makefile b/tasks/Makefile deleted file mode 100644 index ffc1b47..0000000 --- a/tasks/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -IMG_NAME = tasks -REGISTRY=registry.monotremata.xyz:443 - -IMG=$(REGISTRY)/$(IMG_NAME) - -.PHONY: build build-nc push - -build: Dockerfile entrypoint.sh - docker build -t $(IMG) . - -push: build - docker image push $(IMG) - -build-nc: Dockerfile entrypoint.sh - docker build --no-cache -t $(IMG) diff --git a/tasks/entrypoint.sh b/tasks/entrypoint.sh deleted file mode 100644 index c8dacc9..0000000 --- a/tasks/entrypoint.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -[ -f /tasks/tasks.cron ] && crontab /tasks/tasks.cron - -if [ -n "$*" ]; then - exec "$@" -else - exec crond -f -L /dev/stdout -fi