Change in docker-playground[master]: osmo-remsim-master: Add vpcd + pcscd to Docker image

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Feb 18 08:21:21 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/17210 )

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

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
---
M osmo-remsim-master/Dockerfile
1 file changed, 15 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified



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 @@
 
 MAINTAINER Harald Welte <laforge at 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

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/17210
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I463eca0f66197b409e00028e75e9501de620cc8b
Gerrit-Change-Number: 17210
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200218/10bec1c0/attachment.htm>


More information about the gerrit-log mailing list