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