forked from pneymrl2f/nightingale
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
415 B
22 lines
415 B
FROM golang AS builder
|
|
# RUN apk add --no-cache git gcc
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
RUN ./control build docker
|
|
|
|
FROM buildpack-deps:buster-curl
|
|
LABEL maintainer="llitfkitfk@gmail.com"
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder /app/docker/scripts /app/scripts
|
|
COPY --from=builder /app/etc /app/etc
|
|
# Change default address (hard code)
|
|
RUN ./scripts/sed.sh
|
|
|
|
COPY --from=builder /app/bin /usr/local/bin
|
|
|
|
|
|
# ENTRYPOINT []
|
|
# CMD [] |