It says server side, but I just wanted to show that it's not related to Android. The content is minimal.
I made it roughly to run the Apache Beam SDK locally.
For the time being, one minimum example has moved, so I will post it.
Dockerfile
FROM gradle:5.4-jdk-alpine
ENV APP_ROOT /usr/src/app
WORKDIR $APP_ROOT
USER root
RUN apk add --no-cache curl \
zip \
libc6-compat \
bash
RUN ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2
RUN curl -s https://get.sdkman.io | bash
RUN bash -c " \
source "$HOME/.sdkman/bin/sdkman-init.sh" && \
sdk install kotlin 1.3.50 \
"
docker-compose.yml
docker-compose.yml
version: '2'
services:
app:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/usr/src/app:cached
$ docker-compose run --rm app bash
Recommended Posts