Selaa lähdekoodia

use the base image for curl as well

Mohammed Nafees 3 vuotta sitten
vanhempi
sitoutus
ab7ba4150a
2 muutettua tiedostoa jossa 1 lisäystä ja 10 poistoa
  1. 1 1
      workers/Dockerfile
  2. 0 9
      workers/Dockerfile.job

+ 1 - 1
workers/Dockerfile

@@ -23,7 +23,7 @@ RUN go build -ldflags '-w -s' -tags ee -a -o ./bin/worker-pool ./workers
 FROM alpine:3.16
 WORKDIR /app
 
-RUN apk update && apk add git
+RUN apk update && apk add curl
 
 COPY --from=build /app/bin/worker-pool /usr/bin/
 

+ 0 - 9
workers/Dockerfile.job

@@ -1,9 +0,0 @@
-# This Dockerfile is used for building a base image with curl installed
-# and is intended to be used via a Porter job to call the worker pool
-# HTTP endpoints in order to enqueue different kinds of jobs
-
-# Runtime environment
-FROM alpine:3.16
-WORKDIR /app
-
-RUN apk update && apk add curl