Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Add Dockerfile for sqsmover build
Browse files Browse the repository at this point in the history
  • Loading branch information
Clement Thuault committed Apr 15, 2021
1 parent bc1f0ac commit fc11fba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM golang:1.16-alpine as builder
WORKDIR /app
COPY go.mod go.sum main.go /app/
RUN go get .
RUN go build -o sqsmover .

FROM alpine:3.13.5
COPY --from=builder /app/sqsmover /usr/local/bin/sqsmover
CMD sqsmover -s ${SQS_DEAD_QUEUE_NAME} -d ${SQS_QUEUE_NAME}

0 comments on commit fc11fba

Please sign in to comment.