Merge pull request #2 from sparklyballs/fix-lines
fix line endings, add /config VOLUME
This commit is contained in:
10
Dockerfile
10
Dockerfile
@ -46,18 +46,18 @@ RUN \
|
||||
|
||||
# fix broken permissions from pcscd install.
|
||||
chown root:root \
|
||||
/usr/sbin/pcscd && \
|
||||
/usr/sbin/pcscd && \
|
||||
chmod 755 \
|
||||
/usr/sbin/pcscd && \
|
||||
/usr/sbin/pcscd && \
|
||||
|
||||
# install PCSC drivers for OmniKey devices
|
||||
mkdir -p \
|
||||
/tmp/omnikey && \
|
||||
curl -o \
|
||||
/tmp/omnikey.tar.gz -L \
|
||||
https://www.hidglobal.com/sites/default/files/drivers/ifdokccid_linux_x86_64-v4.2.8.tar.gz && \
|
||||
https://www.hidglobal.com/sites/default/files/drivers/ifdokccid_linux_x86_64-v4.2.8.tar.gz && \
|
||||
tar xzf /tmp/omnikey.tar.gz -C \
|
||||
/tmp/omnikey --strip-components=2 && \
|
||||
/tmp/omnikey --strip-components=2 && \
|
||||
cd /tmp/omnikey && \
|
||||
./install && \
|
||||
|
||||
@ -69,7 +69,6 @@ RUN \
|
||||
# cleanup
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
@ -78,3 +77,4 @@ COPY root/ /
|
||||
|
||||
# Ports and volumes
|
||||
EXPOSE 8888
|
||||
VOLUME /config
|
||||
|
Reference in New Issue
Block a user