Skip to content

Commit 4045613

Browse files
hacky, but might work
1 parent 43614ac commit 4045613

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

Dockerfile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1-
FROM dkrutskikh/dart_code_metrics_action:v3
1+
FROM dart:stable
2+
3+
COPY action_app/ /action_app/
4+
5+
RUN cd /action_app \
6+
&& dart pub get
7+
8+
ENV PATH /flutter/bin:$PATH
9+
10+
RUN apt-get update -y \
11+
&& apt-get install -y --no-install-recommends unzip \
12+
&& rm -rf /var/lib/apt/lists/*
13+
14+
# Installing Flutter
15+
RUN git clone -b stable --depth 1 https://github.com/flutter/flutter.git /beta \
16+
&& flutter --version
217

318
ENTRYPOINT ["dart", "run", "/action_app/bin/main.dart"]

0 commit comments

Comments
 (0)