Skip to content

Commit 531ad6e

Browse files
Fix for chip-cert-bins Dockerfile: Add libpcsclite1 and pcscd (project-chip#40153)
* Fix for chip-cert-bins Dockerfile: A couple of months ago, libpcsclite1 and pcscd have been added (see PR 38599). Those packages are needed to access to an USB NFC Reader from chip-cert-bins container. Unfortunately, they have been added to the Stage 1 of Dockerfile, used to build the container. Consequently, they are not available at runtime. The current PR is moving them to the Stage 3, by this way they will be available at runtime. I also took this opportunity to execute the command "pcscd --disable-polkit" which is needed to access a PCSC reader from a docker container. Change-Id: I5147a9bb5c7ac8c5bf0f3591868f0943ecba3221 * Restyled by whitespace * Removed --disable-polkit pcscd command. Change-Id: I0895947e26209b88b9068d7e705e7d5b50960ebb * Added libpcsclite-dev for build stage. Change-Id: I385f766eae0200e20bad6d3c48722346a6090338 --------- Co-authored-by: Restyled.io <[email protected]>
1 parent 7445805 commit 531ad6e

File tree

1 file changed

+2
-3
lines changed
  • integrations/docker/images/chip-cert-bins

1 file changed

+2
-3
lines changed

integrations/docker/images/chip-cert-bins/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ RUN set -x \
6868
libncursesw5-dev \
6969
libnspr4-dev \
7070
libpango1.0-dev \
71+
libpcsclite-dev \
7172
libpixman-1-dev \
72-
libpcsclite1 \
7373
libreadline-dev \
7474
libssl-dev \
7575
libtool \
@@ -82,7 +82,6 @@ RUN set -x \
8282
ninja-build \
8383
openjdk-8-jdk \
8484
pkg-config \
85-
pcscd \
8685
python3 \
8786
python3-dev \
8887
python3-pip \
@@ -274,7 +273,7 @@ FROM ubuntu:24.04
274273
ENV TZ=Etc/UTC
275274
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
276275
RUN apt-get update -y
277-
RUN apt-get install -y libssl-dev libdbus-1-dev libglib2.0-dev libavahi-client-dev avahi-utils iproute2 libcairo2-dev libgirepository1.0-dev python3-pip
276+
RUN apt-get install -y libssl-dev libdbus-1-dev libglib2.0-dev libavahi-client-dev avahi-utils iproute2 libcairo2-dev libgirepository1.0-dev python3-pip libpcsclite1 pcscd
278277
WORKDIR /root/
279278
COPY --from=chip-build-cert-bins /root/.sdk-sha-version .sdk-sha-version
280279
RUN mkdir apps

0 commit comments

Comments
 (0)