btrfs-progs: ci: install static libs to Tumbleweed image
All the static versions of libraries are available on Tumbleweed, let's add them to the image. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d92d7bcd70
commit
900d2ccfe4
|
@ -126,8 +126,6 @@ To do:
|
|||
- 32bit coverage -- while this architecture is fading out, it may be useful to
|
||||
still have some coverage, however running 32bit docker in 64bit is not
|
||||
considered experimental does not work out of the box
|
||||
- static build -- when all build dependencies provide the static library
|
||||
versions, it's possible to to build the static binaries of all the tools
|
||||
- add some kind of templates, there's a lot of repeated stuff in the
|
||||
*Dockerfile*s and the scripts need to be inside the directories in order to
|
||||
allow copying them to the image
|
||||
|
|
|
@ -20,6 +20,11 @@ RUN zypper install -y --no-recommends udev device-mapper acl attr xz
|
|||
# For debugging
|
||||
RUN zypper install -y --no-recommends less vim
|
||||
|
||||
# Static build
|
||||
RUN zypper install -y --no-recommends glibc-devel-static libblkid-devel-static \
|
||||
libcom_err-devel-static libext2fs-devel-static libuuid-devel-static \
|
||||
libzstd-devel-static lzo-devel-static zlib-devel-static
|
||||
|
||||
COPY ./test-build .
|
||||
COPY ./run-tests .
|
||||
COPY ./devel.tar.gz .
|
||||
|
@ -30,3 +35,7 @@ CMD ./test-build devel --disable-documentation
|
|||
# cd /tmp
|
||||
# (see CMD above)
|
||||
# ./run-tests /tmp/btrfs-progs-devel
|
||||
#
|
||||
# To test static build:
|
||||
# cd btrfs-progs-devel
|
||||
# make static
|
||||
|
|
Loading…
Reference in New Issue