This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
FlippyPass/docker/Dockerfile

26 lines
561 B
Text
Raw Normal View History

2024-08-09 22:44:21 -05:00
# BACKEND #
## Parent Container
FROM debian
## Creating Directories
RUN mkdir /src /app /tmp/src
WORKDIR /tmp/src
## Installing Requisites
RUN apt update -y
RUN apt install -y wget curl build-essential
## Downloading RUSTUP
RUN wget https://sh.rustup.rs -O /tmp/rustup.sh
RUN chmod +x /tmp/rustup.sh
RUN /tmp/rustup.sh -y
## Flipper-Zero Build Target
RUN /root/.cargo/bin/rustup target add thumbv7em-none-eabihf
2024-08-09 22:47:37 -05:00
## Copying compile script
COPY docker/flipper-dev.sh /bin/flipper-dev.sh
RUN chmod +x /bin/flipper-dev.sh
2024-08-09 22:44:21 -05:00
# RUNTIME #
CMD "/bin/flipper-dev.sh"