Skip to content

Commit d7554cd

Browse files
authored
Merge pull request #1105 from bart0sh/PR0122-remove-src-repo
intel-idxd-config-initcontainer: don't add source repos
2 parents fe258df + f94f6e6 commit d7554cd

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

build/docker/intel-idxd-config-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
## limitations under the License.
1616
###
1717
FROM debian:stable-slim AS builder
18-
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list.d/deb-src.list && apt update && apt install -y --no-install-recommends gcc make patch autoconf automake libtool pkg-config libjson-c-dev uuid-dev curl ca-certificates
18+
RUN apt update && apt install -y --no-install-recommends gcc make patch autoconf automake libtool pkg-config libjson-c-dev uuid-dev curl ca-certificates
1919
ARG ACCEL_CONFIG_VERSION="3.4.6.4"
2020
ARG ACCEL_CONFIG_DOWNLOAD_URL="https://github.com/intel/idxd-config/archive/accel-config-v$ACCEL_CONFIG_VERSION.tar.gz"
2121
ARG ACCEL_CONFIG_SHA256="5f9ee68f51913d803b9b0e51cdadaff14ea1523f6e9e4d4ab3e85de644ba6d21"

build/docker/templates/intel-idxd-config-initcontainer.Dockerfile.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
FROM debian:stable-slim AS builder
22

3-
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> \
4-
/etc/apt/sources.list.d/deb-src.list && \
5-
apt update && apt install -y --no-install-recommends \
6-
gcc make patch autoconf automake libtool pkg-config \
7-
libjson-c-dev uuid-dev curl ca-certificates
3+
RUN apt update && apt install -y --no-install-recommends \
4+
gcc make patch autoconf automake libtool pkg-config \
5+
libjson-c-dev uuid-dev curl ca-certificates
86

97
ARG ACCEL_CONFIG_VERSION="3.4.6.4"
108
ARG ACCEL_CONFIG_DOWNLOAD_URL="https://github.com/intel/idxd-config/archive/accel-config-v$ACCEL_CONFIG_VERSION.tar.gz"

0 commit comments

Comments
 (0)