-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
34 lines (20 loc) · 709 Bytes
/
Copy pathContainerfile
File metadata and controls
34 lines (20 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:resolute-20260610 AS builder
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
openjdk-17-jdk \
sdkmanager \
&& rm -rf /var/lib/apt/lists/*
ENV ANDROID_HOME=/usr/lib/android-sdk
RUN yes | sdkmanager --licenses
COPY build.sh /build/build.sh
WORKDIR /build/cryptomator-android/
ENTRYPOINT ["/bin/bash", "/build/build.sh"]
FROM ubuntu:resolute-20260610 AS signer
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
apksigner \
&& rm -rf /var/lib/apt/lists/*
COPY sign.sh /build/sign.sh
WORKDIR /build/artifacts/
ENTRYPOINT ["/bin/bash", "/build/sign.sh"]