-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized docker test script into a subdirectory with instructions
- Loading branch information
Joe Drago
committed
Apr 16, 2020
1 parent
a969467
commit b296b6c
Showing
4 changed files
with
26 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM ubuntu:19.10 | ||
|
||
ADD build.sh /root/build.sh | ||
RUN apt update && apt install -y dos2unix | ||
RUN dos2unix /root/build.sh | ||
RUN bash /root/build.sh |
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,16 @@ | ||
# libavif docker image | ||
|
||
To build and use libavif (with avifenc/avifdec) in an Ubuntu Docker container with all dependencies, | ||
change into this directory and run: | ||
|
||
docker-compose run libavif | ||
|
||
This should install all necessary dependencies, including manually building and installing all | ||
supported codecs as shared libraries, and finally building and installing | ||
`libavif`/`avifenc`/`avifdec`. It will then drop you a shell running in the container. | ||
|
||
If you just want to force a (re)build and skip the interactive shell, run: | ||
|
||
docker-compose up --build libavif | ||
|
||
*Note: This build process will take a while (15-30m or more depending on your machine).* |
File renamed without changes.
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,4 @@ | ||
version: "3" | ||
services: | ||
libavif: | ||
build: . |