mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-30 07:32:45 +00:00
b56dae8120
* update all but bun libraries Signed-off-by: kim <grufwub@gmail.com> * remove my personal build script changes Signed-off-by: kim <grufwub@gmail.com>
15 lines
326 B
Docker
15 lines
326 B
Docker
# Use this image to build the executable
|
|
FROM golang:1.16-alpine AS compiler
|
|
|
|
RUN apk add --no-cache git ca-certificates make
|
|
|
|
WORKDIR $GOPATH/src/minify
|
|
COPY . .
|
|
|
|
RUN /usr/bin/env bash -c make install
|
|
|
|
# Final image containing the executable from the previous step
|
|
FROM alpine:3
|
|
|
|
COPY --from=compiler /bin/minify /bin/minify
|