Add libvips to preview
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
261fc86f1b
commit
1f24df69cc
|
@ -1,5 +1,8 @@
|
|||
FROM golang:buster AS build
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y libvips-dev
|
||||
|
||||
RUN mkdir /src /dist
|
||||
|
||||
WORKDIR /src
|
||||
|
@ -11,6 +14,10 @@ RUN go build -o /dist/preview
|
|||
|
||||
FROM debian:buster
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libvips42 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=build /dist/preview /preview
|
||||
|
||||
ENTRYPOINT ["/preview"]
|
||||
|
|
Loading…
Reference in New Issue