-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (22 loc) · 800 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM node:18.16.0
LABEL maintainer="[email protected]" version="1.0"
USER root
ENV FLUTTER_HOME=${HOME}/sdks/flutter \
FLUTTER_VERSION=$flutter_version
ENV FLUTTER_ROOT=$FLUTTER_HOME
ENV PATH ${PATH}:${FLUTTER_HOME}/bin:${FLUTTER_HOME}/bin/cache/dart-sdk/bin
ARG 3.27.3
RUN git clone --branch stable https://github.com/flutter/flutter.git ${FLUTTER_HOME}
RUN yes | flutter doctor --android-licenses \
&& flutter doctor \
&& chown -R root:root ${FLUTTER_HOME}
# RUN sudo apt-get update \
# && sudo apt-get install -y chromium-browser \
# && sudo rm -rf /var/lib/apt/lists/*
RUN flutter doctor -v
#Install Firebase Tools:
RUN npm install -g [email protected]
#Install Python
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3-pip