Skip to content

Commit 8001e79

Browse files
author
Carlos Berroteran
committed
Revert to version 20.40
Newer versions ignore the --no-dkms option resulting in a huge build
1 parent ae77864 commit 8001e79

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Dockerfile

+7-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
55
ENV TZ America/Caracas
66

77
LABEL Name=amdgpu-opencl
8-
LABEL Version=20.10
8+
LABEL Version=20.04
99
LABEL maintainer="Carlos Berroteran (cebxan)"
1010

1111
RUN apt-get -y update && apt-get install -y --no-install-recommends \
@@ -14,19 +14,18 @@ RUN apt-get -y update && apt-get install -y --no-install-recommends \
1414
curl \
1515
xz-utils \
1616
libpci3 \
17-
initramfs-tools \
1817
&& rm -rf /var/lib/apt/lists/*
1918

20-
FROM base
21-
2219
ARG AMD_SITE_URL="https://drivers.amd.com/drivers/linux/"
2320
ARG PREFIX="amdgpu-pro-"
2421
ARG POSTFIX="-ubuntu-20.04"
25-
ARG VERSION_MAJOR="21.10"
26-
ARG VERSION_MINOR="1247438"
22+
ARG VERSION_MAJOR="20.40"
23+
ARG VERSION_MINOR="1147286"
2724
ARG AMDGPU_VERSION="${PREFIX}${VERSION_MAJOR}-${VERSION_MINOR}${POSTFIX}"
2825

26+
WORKDIR /tmp
27+
2928
RUN curl --referer ${AMD_SITE_URL} -O ${AMD_SITE_URL}${AMDGPU_VERSION}.tar.xz \
3029
&& tar -Jxvf ${AMDGPU_VERSION}.tar.xz \
31-
&& ${AMDGPU_VERSION}/amdgpu-install -y --opencl=rocr,legacy --headless --no-dkms --no-32 \
32-
&& rm -rf amdgpu-pro-*
30+
&& ${AMDGPU_VERSION}/amdgpu-install -y --opencl=pal,legacy --headless --no-dkms \
31+
&& rm -rf amdgpu-pro-* /var/opt/amdgpu-pro-local

0 commit comments

Comments
 (0)