A Go image environment based on Alpine with the gcc, make and ffmpeg installed.
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.
 

11 lines
202 B

FROM golang:1.16.6-alpine3.14
RUN apk add --no-cache -U \
build-base git make \
ffmpeg-dev
RUN mkdir /src
WORKDIR /src
ONBUILD COPY . .
ONBUILD RUN /bin/sh -c "[ -f Makefile ] && make || go build"