forked from codebysd/java-play-store-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
17 lines (16 loc) · 668 Bytes
/
Dockerfile
File metadata and controls
17 lines (16 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM startext/gitlab-runner-gradle:latest AS build
COPY . /home/gradle/src
WORKDIR /home/gradle/src
RUN gradle clean assemble unzip --no-daemon
RUN ls -la /home/gradle/src/build/unpacked/dist/PlayStoreUploader-1.0
FROM okeyja/openjdk-curl
RUN mkdir /app
RUN mkdir /app/bin
RUN mkdir /app/lib
RUN apt-get install -y curl \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs \
&& curl -L https://www.npmjs.com/install.sh | sh
COPY --from=build /home/gradle/src/build/unpacked/dist/PlayStoreUploader-1.0/bin /app/bin/
COPY --from=build /home/gradle/src/build/unpacked/dist/PlayStoreUploader-1.0/lib /app/lib/
RUN ls -s /app/