File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,4 +44,4 @@ RUN ln -s $LIBS_PREFIX/bin/llvm-strip $LIBS_PREFIX/bin/strip
44
44
RUN ln -s $LIBS_PREFIX/bin/ld.lld $LIBS_PREFIX/bin/ld
45
45
46
46
# Create an archive of the installed binaries
47
- RUN tar -vcJf /llvm-$LLVM_VERSION-ubuntu-bionic.tar.xz /opt/libs /
47
+ RUN tar --xform s: '^./' :: -C /opt/libs/ - vcJf /llvm-$LLVM_VERSION-ubuntu-12.04- bionic.tar.xz . /
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ docker build --build-arg LLVM_VERSION=$llvm_version -t ubuntu-llvm:$llvm_version
5
5
6
6
# Spin up the image and copy the tarbal it creates
7
7
id=$( docker create ubuntu-llvm:$llvm_version )
8
- docker cp $id :llvm-$llvm_version -ubuntu-bionic.tar.xz llvm-$llvm_version -ubuntu-bionic.tar.xz
8
+ docker cp $id :llvm-$llvm_version -ubuntu-12.04- bionic.tar.xz llvm-$llvm_version -ubuntu-12.04 -bionic.tar.xz
9
9
docker rm -v $id
You can’t perform that action at this time.
0 commit comments