-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (16 loc) · 791 Bytes
/
Dockerfile
File metadata and controls
21 lines (16 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Linux tests and checks for Fluxo
# https://github.com/CircleCI-Public/cimg-android
# https://hub.docker.com/r/cimg/android/tags
FROM cimg/android:2022.12-browsers
LABEL maintainer="Artyom Shendrik <artyom.shendrik@gmail.com>"
LABEL name=fluxo-test
RUN java -version && gradle -v && ruby -v && node -v
# Remove invalid toolchain (to prevent Gradle problems & warnings)
RUN sudo rm -rfv /usr/lib/jvm/openjdk-11
# Prepare project and preload dependencies + konan caches (Kotlin Native)
COPY --chown=circleci:circleci . .
RUN ./gradlew commonize --no-daemon --no-watch-fs --continue --stacktrace \
&& ./gradlew resolveDependencies --no-daemon --no-watch-fs --continue --stacktrace \
&& ./gradlew -i --stop
# Run in container
# ./gradlew build check --continue --stacktrace --scan