1
0

Compare commits

...

6 Commits
68 ... 79

Author SHA1 Message Date
9c7d852c19 Merge pull request #9 from linuxserver/3.7
bump to alpine 3.7 and fix continuation lines
2017-12-16 18:21:50 +00:00
d09999bb98 bump to alpine 3.7 and fix continuation lines 2017-12-13 15:30:12 +00:00
fa339bcc4d Merge pull request #8 from bibene/master
add card reader driver package
2017-10-19 17:12:58 +03:00
aef729f7c2 add card reader driver package
update version history
2017-10-19 15:31:54 +03:00
95ef84a777 add card reader driver package
changes after review
2017-10-19 15:30:10 +03:00
bc850b20aa add card reader driver package
My card reader "ID 08e6:3437 Gemalto (was Gemplus) GemPC Twin SmartCard Reader" was not working due to missing driver, adding package ccid solves this. It also includes drivers for many other readers.
2017-10-19 13:52:37 +03:00
2 changed files with 32 additions and 22 deletions

View File

@ -1,13 +1,13 @@
FROM lsiobase/alpine:3.6
MAINTAINER saarg
FROM lsiobase/alpine:3.7
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="saarg"
# install build packages
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
bzr \
curl \
@ -19,16 +19,15 @@ RUN \
libressl-dev \
pcsc-lite-dev \
tar && \
# install runtime packages
echo "**** install runtime packages ****" && \
apk add --no-cache \
ccid \
libcrypto1.0 \
libssl1.0 \
libusb \
pcsc-lite \
pcsc-lite-libs && \
# compile oscam from source
echo "**** compile oscam ****" && \
bzr branch lp:oscam /tmp/oscam-svn && \
cd /tmp/oscam-svn && \
./config.sh \
@ -43,20 +42,31 @@ RUN \
LCDSUPPORT \
LEDSUPPORT \
READ_SDT_CHARSETS && \
make \
echo "**** attempt to set number of cores available for make to use ****" && \
set -ex && \
CPU_CORES=$( < /proc/cpuinfo grep -c processor ) || echo "failed cpu look up" && \
if echo $CPU_CORES | grep -E -q '^[0-9]+$'; then \
: ;\
if [ "$CPU_CORES" -gt 7 ]; then \
CPU_CORES=$(( CPU_CORES - 3 )); \
elif [ "$CPU_CORES" -gt 5 ]; then \
CPU_CORES=$(( CPU_CORES - 2 )); \
elif [ "$CPU_CORES" -gt 3 ]; then \
CPU_CORES=$(( CPU_CORES - 1 )); fi \
else CPU_CORES="1"; fi && \
make -j $CPU_CORES \
CONF_DIR=/config \
DEFAULT_PCSC_FLAGS="-I/usr/include/PCSC" \
NO_PLUS_TARGET=1 \
OSCAM_BIN=/usr/bin/oscam \
pcsc-libusb && \
# fix broken permissions from pcscd install.
set +ex && \
echo "**** fix broken permissions from pcscd install ****" && \
chown root:root \
/usr/sbin/pcscd && \
chmod 755 \
/usr/sbin/pcscd && \
# install PCSC drivers for OmniKey devices
echo "**** install PCSC drivers ****" && \
mkdir -p \
/tmp/omnikey && \
curl -o \
@ -67,13 +77,11 @@ RUN \
/tmp/omnikey --strip-components=2 && \
cd /tmp/omnikey && \
./install && \
# fix group for card readers and add abc to dialout group
echo "**** fix group for card readers and add abc to dialout group ****" && \
groupmod -g 24 cron && \
groupmod -g 16 dialout && \
usermod -a -G 16 abc && \
# cleanup
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \

View File

@ -100,9 +100,11 @@ The web interface is at port 8888.
## Versions
+ **17.10.2017:** Switch to using bzr for source code, streamboard awol.
+ **28.05.2017:** Rebase to alpine 3.6.
+ **09.02.2017:** Rebase to alpine 3.5.
+ **14.10.2016:** Add version layer information.
+ **02.10.2016:** Add info on passing through devices to README.
+ **25.09.2016:** Initial release.
+ **13.12.17:** Rebase to alpine 3.7.
+ **19.10.17:** Add ccid package for usb card readers.
+ **17.10.17:** Switch to using bzr for source code, streamboard awol.
+ **28.05.17:** Rebase to alpine 3.6.
+ **09.02.17:** Rebase to alpine 3.5.
+ **14.10.16:** Add version layer information.
+ **02.10.16:** Add info on passing through devices to README.
+ **25.09.16:** Initial release.