Skip to content

Commit 3f61d36

Browse files
author
Markus Perl
committed
ubuntu update
1 parent aea1ed7 commit 3f61d36

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build-linux:
1212
name: build in native linux
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.10
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v2
@@ -59,19 +59,19 @@ jobs:
5959
6060
build-docker:
6161
name: build in docker
62-
runs-on: ubuntu-20.04
62+
runs-on: ubuntu-22.10
6363
steps:
6464
- name: Checkout code
6565
uses: actions/checkout@v2
6666

6767
- name: pull base image
6868
id: ubuntu_pull
6969
run: |
70-
docker pull ubuntu:20.04
70+
docker pull ubuntu:22.10
7171
- name: run if ubuntu_pull failed
7272
if: failure() && steps.ubuntu_pull.outcome == 'failure'
7373
run: |
74-
docker pull ubuntu:20.04
74+
docker pull ubuntu:22.10
7575
- name: build ffmpeg
7676
run: |
7777
docker build -t ffmpeg:ubuntu -f Dockerfile .
@@ -81,21 +81,21 @@ jobs:
8181
8282
build-cuda-ubuntu-docker:
8383
name: build in ubuntu docker with cuda
84-
runs-on: ubuntu-20.04
84+
runs-on: ubuntu-22.10
8585
steps:
8686
- name: Checkout code
8787
uses: actions/checkout@v2
8888

8989
- name: pull base image
9090
id: cuda_ubuntu_pull
9191
run: |
92-
docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04
93-
docker pull ubuntu:20.04
92+
docker pull nvidia/cuda:11.4.2-devel-ubuntu22.10
93+
docker pull ubuntu:22.10
9494
- name: run if cuda_ubuntu_pull failed
9595
if: failure() && steps.cuda_ubuntu_pull.outcome == 'failure'
9696
run: |
97-
docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04
98-
docker pull ubuntu:20.04
97+
docker pull nvidia/cuda:11.4.2-devel-ubuntu22.10
98+
docker pull ubuntu:22.10
9999
- name: build ffmpeg
100100
run: |
101101
docker build -t ffmpeg:cuda-ubuntu -f cuda-ubuntu.dockerfile .
@@ -129,19 +129,19 @@ jobs:
129129
130130
build-full-static:
131131
name: full static build in docker
132-
runs-on: ubuntu-20.04
132+
runs-on: ubuntu-22.10
133133
steps:
134134
- name: Checkout code
135135
uses: actions/checkout@v2
136136

137137
- name: pull base image
138138
id: cuda_ubuntu_pull
139139
run: |
140-
docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04
140+
docker pull nvidia/cuda:11.4.2-devel-ubuntu22.10
141141
- name: run if cuda_ubuntu_pull failed
142142
if: failure() && steps.cuda_ubuntu_pull.outcome == 'failure'
143143
run: |
144-
docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04
144+
docker pull nvidia/cuda:11.4.2-devel-ubuntu22.10
145145
- name: build ffmpeg
146146
run: |
147147
docker build -t ffmpeg:cuda-static -f full-static.dockerfile .

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04 AS build
1+
FROM ubuntu:22.10 AS build
22

33
ENV DEBIAN_FRONTEND noninteractive
44

@@ -13,7 +13,7 @@ COPY ./build-ffmpeg /app/build-ffmpeg
1313

1414
RUN SKIPINSTALL=yes /app/build-ffmpeg --build
1515

16-
FROM ubuntu:20.04
16+
FROM ubuntu:22.10
1717

1818
ENV DEBIAN_FRONTEND noninteractive
1919

build-ffmpeg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,15 @@ else
417417
build_done "nettle" "3.8"
418418
fi
419419

420-
if ! $MACOS_M1; then
420+
if ! $ARCH == 'arm64'; then
421421
if build "gnutls" "3.6.16"; then
422422
download "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.16.tar.xz"
423423
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static --disable-doc --disable-tools --disable-cxx --disable-tests --disable-gtk-doc-html --disable-libdane --disable-nls --enable-local-libopts --disable-guile --with-included-libtasn1 --with-included-unistring --without-p11-kit CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
424424
execute make -j $MJOBS
425425
execute make install
426426
build_done "gnutls" "3.6.16"
427427
fi
428-
CONFIGURE_OPTIONS+=("--enable-gmp" "--enable-gnutls")
428+
# CONFIGURE_OPTIONS+=("--enable-gmp" "--enable-gnutls")
429429
fi
430430
fi
431431

full-static.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04 AS build
1+
FROM ubuntu:22.10 AS build
22

33
ENV DEBIAN_FRONTEND noninteractive
44
ENV NVIDIA_VISIBLE_DEVICES all

0 commit comments

Comments
 (0)