-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathgdk.patch
31 lines (28 loc) · 1.03 KB
/
gdk.patch
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
diff --git a/docker/ubuntu/Dockerfile b/docker/ubuntu/Dockerfile
index 8a96bf8e..7f84d3f6 100644
--- a/docker/ubuntu/Dockerfile
+++ b/docker/ubuntu/Dockerfile
@@ -1,7 +1,7 @@
# Ubuntu image. Build with:
# DOCKER_BUILDKIT=1 docker build . -t blockstream/gdk-ubuntu-builder -f docker/ubuntu-arm64/Dockerfile
#
-FROM ubuntu:20.04@sha256:3626dff0d616e8ee7065a9ac8c7117e904a4178725385910eeecd7f1872fc12d as base
+FROM ubuntu:20.04 as base
WORKDIR /root
COPY ./tools ./tools
COPY ./cmake/profiles ./cmake/profiles
@@ -15,17 +15,11 @@ ENV GDK_KEEP_DOWNLOADS=1
RUN mkdir -p /prebuild/gcc
RUN ./tools/builddeps.sh --gcc --prefix /prebuild/gcc
-FROM base AS builderclang
-ENV GDK_KEEP_DOWNLOADS=1
-RUN mkdir -p /prebuild/clang
-RUN ./tools/builddeps.sh --clang --prefix /prebuild/clang
-
FROM base as final
# Remove copied/downloaded dependency sources
RUN rm -rf ./tools ./downloads ./cmake ./docker
COPY --from=buildergcc /prebuild/gcc /prebuild/gcc
-COPY --from=builderclang /prebuild/clang /prebuild/clang
RUN chmod +xr /root
WORKDIR /root/gdk