Last active
February 17, 2016 08:51
-
-
Save nicr9/b90bcafcdd621ef4560e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:12.04 | |
MAINTAINER Nic Roland "nicroland9@gmail.com" | |
RUN apt-get update && \ | |
apt-get install -y autoconf automake git g++ console-tools language-pack-en-base make && \ | |
apt-get clean | |
RUN locale-gen en_US.UTF-8 | |
RUN git clone https://github.com/kernc/logkeys | |
WORKDIR logkeys | |
RUN ./autogen.sh | |
WORKDIR build | |
RUN mkdir /dev/input && \ | |
touch /dev/input/eventX && \ | |
../configure && \ | |
make && \ | |
make install | |
ENTRYPOINT logkeys --start --output test.log && \ | |
tail -f test.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment