-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
66 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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,38 @@ | ||
FROM arm32v7/debian:12.5 | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y \ | ||
build-essential \ | ||
git \ | ||
pkg-config | ||
|
||
RUN \ | ||
mkdir -p /opt/ffmpeg/src | ||
|
||
WORKDIR /opt/ffmpeg/src | ||
|
||
RUN \ | ||
git clone https://github.com/FFmpeg/FFmpeg /opt/ffmpeg/src && \ | ||
git checkout n5.1.2 | ||
|
||
RUN \ | ||
./configure --prefix=.. && \ | ||
make && \ | ||
make install | ||
|
||
ADD https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz /tmp/go.tar.gz | ||
RUN tar -C /opt -xzf /tmp/go.tar.gz | ||
|
||
ENV GOARCH=arm | ||
ENV GOARM=7 | ||
ENV GOCACHE=/opt/gocache | ||
ENV GOMODCACHE=/opt/gomodcache | ||
ENV CGO_LDFLAGS=-L/opt/ffmpeg/lib/ | ||
ENV CGO_CFLAGS=-I/opt/ffmpeg/include/ | ||
ENV PKG_CONFIG_PATH=/opt/ffmpeg/lib/pkgconfig | ||
ENV CGO_ENABLED=1 | ||
|
||
WORKDIR /opt/astiav | ||
|
||
CMD ["/opt/go/bin/go", "test"] |