-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install libvips in ci runtime (#370)
* install libvips in ci runtime * Run CI on every PR * CI test in Docker * Update Dockerfile.CI
- Loading branch information
Showing
3 changed files
with
21 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
.github/* | ||
exhaust/* | ||
pics/* | ||
remote-raw/* | ||
scripts/* | ||
.git | ||
.dockerignore | ||
README.md | ||
LICENSE | ||
Makefile | ||
LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM golang:1.23-bookworm as builder | ||
|
||
ARG IMG_PATH=/opt/pics | ||
ARG EXHAUST_PATH=/opt/exhaust | ||
RUN apt update && apt install --no-install-recommends libvips-dev -y && mkdir /build | ||
COPY go.mod /build | ||
RUN cd /build && go mod download | ||
|
||
COPY . /build | ||
|
||
RUN cd /build && make && make test |