Skip to content

Commit

Permalink
fix: reduce image size
Browse files Browse the repository at this point in the history
  • Loading branch information
seo-rii committed Jan 9, 2022
1 parent 23c6f76 commit e9df2ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RUN mkdir /kotlin
RUN tar -xvzf /tmp/kotlin.tar.gz --directory /kotlin
RUN ln -s /kotlin/kotlin-native-linux-x86_64-1.6.10/bin/kotlinc-native /usr/bin/kotlinc-native
RUN ln -s /kotlin/kotlin-native-linux-x86_64-1.6.10/bin/run_konan /usr/bin/run_konan
RUN rm /tmp/kotlin.tar.gz

# Install Ruby
RUN apk add ruby
Expand All @@ -67,3 +68,10 @@ RUN wget https://dot.net/v1/dotnet-install.sh
RUN bash /dotnet-install.sh -c Current
RUN ln -s /root/.dotnet/dotnet /usr/local/bin/
RUN dotnet --version

# Cleanup
RUN rm -rf /var/cache/apk/*
RUN rm -rf /root/.cache/yarn
RUN rm -rf /root/.cache/npm
RUN rm -rf /root/.cache/pip
RUN rm -rf /tmp

0 comments on commit e9df2ec

Please sign in to comment.