testing
This commit is contained in:
parent
f315ba88b4
commit
f76b07ed5c
2 changed files with 109 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM golang:latest
|
||||
|
||||
MAINTAINER Andreas Neue <an@dnix.de>
|
||||
|
||||
RUN apt -y update && \
|
||||
apt -y upgrade && \
|
||||
apt -y install libglib2.0-dev libexpat1-dev libjpeg-dev libpng-dev libgif-dev
|
||||
|
||||
WORKDIR /go/src/image-resizer
|
||||
COPY . .
|
||||
|
||||
RUN wget https://github.com/libvips/libvips/releases/download/v8.7.3/vips-8.7.3.tar.gz && \
|
||||
tar xvzf vips-8.7.3.tar.gz && \
|
||||
cd vips-8.7.3 && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
RUN go get -v -u github.com/davidbyttow/govips/pkg/vips
|
||||
RUN go install -v ./...
|
Loading…
Add table
Add a link
Reference in a new issue