RRG-Proxmark3/docker/homebrew/Dockerfile
2024-12-18 15:29:26 +01:00

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"]