mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-04-26 19:35:10 +00:00
17 lines
394 B
Docker
17 lines
394 B
Docker
FROM homebrew/brew
|
|
|
|
ENV LANG=C.UTF-8
|
|
|
|
ARG UART_GID
|
|
# dialout group may already exist on another numeric ID than on host
|
|
RUN if [ -n "${UART_GID}" ]; then \
|
|
sudo groupadd -g ${UART_GID} mydialout || true; \
|
|
sudo usermod -aG ${UART_GID} linuxbrew; \
|
|
fi
|
|
|
|
USER linuxbrew
|
|
WORKDIR "/home/linuxbrew"
|
|
RUN brew install cmake pkg-config bzip2 lz4 && rm -rf ~/.cache/Homebrew
|
|
|
|
CMD ["/bin/bash"]
|