File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
ARG UBUNTU_VERSION=18.04
2
2
ARG LLVM_VERSION=6.0
3
3
ARG BUILD_TAG=ubuntu-$UBUNTU_VERSION-llvm-$LLVM_VERSION
4
- FROM scalabindgen/scala-native-bindgen-builder:$BUILD_TAG as build
4
+ FROM scalabindgen/scala-native-bindgen-builder:$BUILD_TAG as builder
5
5
6
6
WORKDIR /src
7
7
COPY . /src
@@ -16,13 +16,11 @@ FROM ubuntu:$UBUNTU_VERSION
16
16
17
17
ARG LLVM_VERSION=6.0
18
18
ENV LLVM_VERSION=$LLVM_VERSION
19
- # LLVM dev versions do not have a "-x.y" version suffix.
20
- ARG LLVM_DEB_COMPONENT=-$LLVM_VERSION
21
19
RUN set -x \
22
20
&& apt update \
23
21
&& apt install -y --no-install-recommends libclang1-$LLVM_VERSION \
24
22
&& rm -rf /var/lib/apt/lists/*
25
23
26
- COPY --from=build /src/target/scala-native-bindgen /usr/bin/scala-native-bindgen
24
+ COPY --from=builder /src/target/scala-native-bindgen /usr/bin/scala-native-bindgen
27
25
WORKDIR /src
28
26
ENTRYPOINT [scala-native-bindgen]
You can’t perform that action at this time.
0 commit comments