Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit 44caf76

Browse files
Hikari Kibojankeromnes
Hikari Kibo
authored andcommitted
Flutter Stack (#24)
* feat: Flutter Stack Signed-off-by: Capuccino <[email protected]> * fix: remove Maven+Android SDK deps Signed-off-by: Capuccino <[email protected]> * fix: use USER directives for defining admin actions Signed-off-by: Capuccino <[email protected]> * style: remove unnecessary sh -c Signed-off-by: Capuccino <[email protected]>
1 parent 57d28e8 commit 44caf76

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

flutter/.gitpod.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
image:
2+
file: Dockerfile

flutter/Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM gitpod/workspace-full-vnc
2+
3+
ENV FLUTTER_HOME=/home/gitpod/flutter \
4+
PATH=/usr/lib/dart/bin:$FLUTTER_HOME/bin:$PATH
5+
6+
USER root
7+
8+
RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
9+
curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list && \
10+
apt-get update && \
11+
apt-get -y install build-essential dart libkrb5-dev gcc make && \
12+
apt-get clean && \
13+
apt-get -y autoremove && \
14+
apt-get -y clean && \
15+
rm -rf /var/lib/apt/lists/*
16+
17+
USER gitpod
18+
19+
RUN cd /home/gitpod && wget -O flutter_sdk.tar.xz https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.0.0-stable.tar.xz \
20+
&& tar -xvf flutter_sdk.tar.xz && rm flutter_sdk.tar.xz;

0 commit comments

Comments
 (0)