Updated Docker Environment
This commit is contained in:
parent
fdfa49fd36
commit
017aeaed1e
2 changed files with 5 additions and 5 deletions
|
@ -6,10 +6,6 @@ FROM debian
|
|||
RUN mkdir /src /app /tmp/src
|
||||
WORKDIR /tmp/src
|
||||
|
||||
## Copying compile script
|
||||
COPY docker/flipper-dev.sh /bin/flipper-dev.sh
|
||||
RUN chmod +x /bin/flipper-dev.sh
|
||||
|
||||
## Installing Requisites
|
||||
RUN apt update -y
|
||||
RUN apt install -y wget curl build-essential
|
||||
|
@ -22,5 +18,9 @@ RUN /tmp/rustup.sh -y
|
|||
## Flipper-Zero Build Target
|
||||
RUN /root/.cargo/bin/rustup target add thumbv7em-none-eabihf
|
||||
|
||||
## Copying compile script
|
||||
COPY docker/flipper-dev.sh /bin/flipper-dev.sh
|
||||
RUN chmod +x /bin/flipper-dev.sh
|
||||
|
||||
# RUNTIME #
|
||||
CMD "/bin/flipper-dev.sh"
|
|
@ -2,7 +2,7 @@
|
|||
cp -r /src/* ./
|
||||
|
||||
# Building the Project
|
||||
cargo build
|
||||
/root/.cargo/bin/cargo build
|
||||
|
||||
# Copy the .FAP file to the app directory
|
||||
cp ./target/thumbv7em-none-eabihf/debug/*.fap /app/
|
Loading…
Reference in a new issue