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