FROM arm32v6/alpine ARG gid_input=${gid_input} RUN echo "rfidac:x:100:105:RFIC AC,,,:/opt:/sbin/nologin" >> /etc/passwd \ && apk add --no-cache --update python3 \ && pip3 install --upgrade pip setuptools \ && apk add --no-cache linux-headers gcc musl-dev python3-dev \ && pip3 install evdev \ && apk rm linux-headers gcc musl-dev python3-dev \ && apk add --no-cache mpc ADD rfid-test.py /opt/rfid-test.py USER rfidac CMD ["/usr/bin/python3","-u","/opt/rfid-test.py"]