osmo-remsim-master: Add vpcd + pcscd to Docker image

This way we can run the container with osmo-remsim-bankd + ifd-vpcd,
i.e. with a simulated smart card reader behind the bank.

Change-Id: I463eca0f66197b409e00028e75e9501de620cc8b
This commit is contained in:
Harald Welte 2020-02-17 22:29:36 +01:00
parent 8e2329e2ec
commit d08e26ecb4
1 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,21 @@ FROM $USER/debian-stretch-build
MAINTAINER Harald Welte <laforge@gnumonks.org>
# PC/SC required for testing of bankd (with vpcd)
# autoconf, automake, libtool, pkg-config, m4, help2man required for virtualsmartcard
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libpcsclite-dev \
pcscd \
pcsc-tools \
autoconf automake libtool pkg-config m4 help2man ca-certificates && \
apt-get clean
# build virtualsmartcard
RUN git clone https://github.com/frankmorgner/vsmartcard.git
RUN cd vsmartcard/virtualsmartcard && autoreconf -fi && ./configure && make -j8 install
ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/"
COPY Release.key /tmp/Release.key