| 
 | 1 | +FROM riscv64/ubuntu:focal  | 
 | 2 | + | 
 | 3 | +ENV ARCH=riscv64 DIST=focal  | 
 | 4 | + | 
 | 5 | +# inherited by build scripts  | 
 | 6 | +ARG VERBOSE=0  | 
 | 7 | + | 
 | 8 | +COPY /entrypoint-ubuntu.sh /entrypoint.sh  | 
 | 9 | + | 
 | 10 | +ENTRYPOINT ["/entrypoint.sh"]  | 
 | 11 | +SHELL ["/entrypoint.sh", "bash", "-c"]  | 
 | 12 | + | 
 | 13 | +COPY ./install-deps-ubuntu.sh /  | 
 | 14 | +RUN bash -x /install-deps-ubuntu.sh  | 
 | 15 | + | 
 | 16 | +COPY ./install-cmake.sh /  | 
 | 17 | +RUN bash -x /install-cmake.sh  | 
 | 18 | + | 
 | 19 | +ARG DESKTOP_FILE_UTILS_VERSION=56d220dd679c7c3a8f995a41a27a7d6f3df49dea  | 
 | 20 | +COPY build-desktop-file-utils.sh /  | 
 | 21 | +RUN bash -x /build-desktop-file-utils.sh  | 
 | 22 | + | 
 | 23 | +ARG AUTOMAKE_VERSION=1.16.5  | 
 | 24 | +COPY build-automake.sh /  | 
 | 25 | +RUN bash -x /build-automake.sh  | 
 | 26 | + | 
 | 27 | +ARG LIBGPG_ERROR_VERSION=1.45  | 
 | 28 | +COPY build-libgpg-error.sh /  | 
 | 29 | +RUN bash -x /build-libgpg-error.sh  | 
 | 30 | + | 
 | 31 | +ARG LIBASSUAN_VERSION=2.5.5  | 
 | 32 | +COPY build-libassuan.sh /  | 
 | 33 | +RUN bash -x /build-libassuan.sh  | 
 | 34 | + | 
 | 35 | +ARG LIBGCRYPT_VERSION=1.10.1  | 
 | 36 | +COPY build-libgcrypt.sh /  | 
 | 37 | +RUN bash -x /build-libgcrypt.sh  | 
 | 38 | + | 
 | 39 | +ARG LIBKSBA_VERSION=1.6.0  | 
 | 40 | +COPY build-libksba.sh /  | 
 | 41 | +RUN bash -x /build-libksba.sh  | 
 | 42 | + | 
 | 43 | +ARG NPTH_VERSION=1.6  | 
 | 44 | +COPY build-npth.sh /  | 
 | 45 | +RUN bash -x /build-npth.sh  | 
 | 46 | + | 
 | 47 | +ARG GNUPG_VERSION=2.3.7  | 
 | 48 | +COPY build-gnupg.sh /  | 
 | 49 | +RUN bash -x /build-gnupg.sh  | 
 | 50 | + | 
 | 51 | +ARG GPGME_VERSION=1.17.1  | 
 | 52 | +COPY build-gpgme.sh /  | 
 | 53 | +RUN bash -x /build-gpgme.sh  | 
 | 54 | + | 
 | 55 | +# create unprivileged user for non-build-script use of this image  | 
 | 56 | +# build-in-docker.sh will likely not use this one, as it enforces the caller's uid inside the container  | 
 | 57 | +RUN adduser --system --group build  | 
 | 58 | +USER build  | 
0 commit comments