21 lines
No EOL
419 B
Docker
21 lines
No EOL
419 B
Docker
# 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 curl wget python3 python3-pip
|
|
|
|
## Downloading uFBT
|
|
RUN pip install ufbt --break-system-packages
|
|
|
|
## 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" |