File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
Filter options
Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
- name : Checkout code
16
16
uses : actions/checkout@v2
17
17
18
- - name : install libva-drm2
18
+ - name : install libdrm-dev
19
19
run : |
20
20
sudo apt-get update
21
- sudo apt-get install -y libva-drm2
21
+ sudo apt-get install -y libdrm-dev
22
22
23
23
- name : build ffmpeg
24
24
run : |
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:20.04 AS build
2
2
3
+ ENV DEBIAN_FRONTEND noninteractive
4
+
3
5
RUN apt-get update \
4
- && apt-get -y --no-install-recommends install build-essential curl ca-certificates libdrm -dev \
6
+ && apt-get -y --no-install-recommends install build-essential curl ca-certificates libva -dev \
5
7
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
6
8
&& update-ca-certificates
7
9
Original file line number Diff line number Diff line change @@ -220,7 +220,9 @@ mkdir -p "$PACKAGES"
220
220
mkdir -p " $WORKSPACE "
221
221
222
222
export PATH=" ${WORKSPACE} /bin:$PATH "
223
- export PKG_CONFIG_PATH=" /usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig"
223
+ PKG_CONFIG_PATH=" /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig"
224
+ PKG_CONFIG_PATH+=" :/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib64/pkgconfig"
225
+ export PKG_CONFIG_PATH
224
226
225
227
if ! command_exists " make" ; then
226
228
echo " make not installed." ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND noninteractive
6
6
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
7
7
8
8
RUN apt-get update \
9
- && apt-get -y --no-install-recommends install build-essential curl ca-certificates libdrm -dev \
9
+ && apt-get -y --no-install-recommends install build-essential curl ca-certificates libva -dev \
10
10
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
11
11
&& update-ca-certificates
12
12
Original file line number Diff line number Diff line change 1
1
FROM nvidia/cuda:11.1-devel-ubuntu20.04 AS build
2
2
3
+ ENV DEBIAN_FRONTEND noninteractive
3
4
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
4
5
5
6
RUN apt-get update \
6
- && apt-get -y --no-install-recommends install build-essential curl ca-certificates python3 \
7
+ && apt-get -y --no-install-recommends install build-essential curl ca-certificates \
7
8
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
8
9
&& update-ca-certificates
9
10
You can’t perform that action at this time.
0 commit comments