diff options
author | Harald Welte <laforge@osmocom.org> | 2020-02-17 22:29:36 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-02-17 22:29:36 +0100 |
commit | d08e26ecb4c8c9e6729cca51fcd0ff3390735130 (patch) | |
tree | 0f0050cafe4a54256132d153a873e75429154dfb /osmo-remsim-master | |
parent | 8e2329e2ec7e4fbd40d61253db587f0b93c47602 (diff) |
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
Diffstat (limited to 'osmo-remsim-master')
-rw-r--r-- | osmo-remsim-master/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/osmo-remsim-master/Dockerfile b/osmo-remsim-master/Dockerfile index 3c5c5cc..0a15d93 100644 --- a/osmo-remsim-master/Dockerfile +++ b/osmo-remsim-master/Dockerfile @@ -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 |