mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-21 19:31:17 -08:00
17 lines
388 B
Docker
17 lines
388 B
Docker
FROM homebrew/brew
|
|
|
|
ENV LANG=C
|
|
|
|
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"]
|