Skip to content

Commit 2c50ebf

Browse files
authored
Merge pull request #18 from AckeeDevOps/feat/debian-update
⬆️ Upgrade debian, gradle and kotlin
2 parents 755dade + 423dc79 commit 2c50ebf

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG.MD

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v2.0.0] - 2023-05-22
8+
### Changed
9+
- Debian `stretch` to `buster` due to apt mirror missing packages
10+
- Updated danger to work with current gradle
11+
- Updated kotlin
12+
### Add
13+
- Exception for root build of `/opt/flutter` to avoid `flutter doctor` error
14+
715
## [v1.4.0] - 2023-05-22
816
### Changed
917
- Update to Java 17

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:stretch
1+
FROM debian:buster
22

33
LABEL tag="ackee-gitlab" \
44
author="Ackee 🦄" \
@@ -79,16 +79,16 @@ RUN apt-get update && apt-get install -y \
7979
make
8080

8181
# install danger-js which is needed for danger-kotlin to work
82-
RUN npm install -g danger@10.2.1
82+
RUN npm install -g danger@11.2.6
8383

8484
# install kotlin compiler
85-
RUN curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.4.10/kotlin-compiler-1.4.10.zip && \
85+
RUN curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.8.21/kotlin-compiler-1.8.21.zip && \
8686
unzip -d /usr/local/ kotlin-compiler.zip && \
8787
rm -rf kotlin-compiler.zip
8888

8989
# install danger-kotlin
9090
RUN git clone https://github.com/danger/kotlin.git _danger-kotlin && \
91-
cd _danger-kotlin && git checkout 0.7.1 && \
91+
cd _danger-kotlin && git checkout 1.2.0 && \
9292
make install && \
9393
cd .. && \
9494
rm -rf _danger-kotlin
@@ -105,6 +105,7 @@ ENV FLUTTER_HOME="/opt/flutter"
105105
RUN curl -o flutter.tar.xz $FLUTTER_URL \
106106
&& mkdir -p $FLUTTER_HOME \
107107
&& tar xf flutter.tar.xz -C /opt \
108+
&& git config --global --add safe.directory /opt/flutter \
108109
&& rm flutter.tar.xz
109110

110111
ENV PATH=$PATH:$FLUTTER_HOME/bin

0 commit comments

Comments
 (0)