Merge pull request #3 from capital-match/master
added missing files for running network code
This commit is contained in:
commit
8cb165c269
1 changed files with 14 additions and 2 deletions
16
Makefile
16
Makefile
|
@ -4,6 +4,8 @@ root:
|
||||||
@mkdir root
|
@mkdir root
|
||||||
root/bin: | root
|
root/bin: | root
|
||||||
@mkdir root/bin
|
@mkdir root/bin
|
||||||
|
root/etc: | root
|
||||||
|
@mkdir root/etc
|
||||||
root/bin/sh: | root/bin
|
root/bin/sh: | root/bin
|
||||||
@cp -L /bin/sh root/bin/
|
@cp -L /bin/sh root/bin/
|
||||||
root/lib: | root
|
root/lib: | root
|
||||||
|
@ -24,10 +26,20 @@ root/lib/x86_64-linux-gnu/librt.so.1: | root/lib/x86_64-linux-gnu
|
||||||
@cp -L /lib/x86_64-linux-gnu/librt.so.1 root/lib/x86_64-linux-gnu/
|
@cp -L /lib/x86_64-linux-gnu/librt.so.1 root/lib/x86_64-linux-gnu/
|
||||||
root/lib/x86_64-linux-gnu/libz.so.1: | root/lib/x86_64-linux-gnu
|
root/lib/x86_64-linux-gnu/libz.so.1: | root/lib/x86_64-linux-gnu
|
||||||
@cp -L /lib/x86_64-linux-gnu/libz.so.1 root/lib/x86_64-linux-gnu/
|
@cp -L /lib/x86_64-linux-gnu/libz.so.1 root/lib/x86_64-linux-gnu/
|
||||||
|
root/lib/x86_64-linux-gnu/libnss_files.so.2: | root/lib/x86_64-linux-gnu
|
||||||
|
@cp -L /lib/x86_64-linux-gnu/libnss_files.so.2 root/lib/x86_64-linux-gnu/
|
||||||
|
root/lib/x86_64-linux-gnu/libnss_dns.so.2: | root/lib/x86_64-linux-gnu
|
||||||
|
@cp -L /lib/x86_64-linux-gnu/libnss_dns.so.2 root/lib/x86_64-linux-gnu/
|
||||||
|
root/lib/x86_64-linux-gnu/libresolv.so.2: | root/lib/x86_64-linux-gnu
|
||||||
|
@cp -L /lib/x86_64-linux-gnu/libresolv.so.2 root/lib/x86_64-linux-gnu/
|
||||||
root/lib64: | root
|
root/lib64: | root
|
||||||
@mkdir root/lib64
|
@mkdir root/lib64
|
||||||
root/lib64/ld-linux-x86-64.so.2: | root/lib64
|
root/lib64/ld-linux-x86-64.so.2: | root/lib64
|
||||||
@cp -L /lib64/ld-linux-x86-64.so.2 root/lib64/
|
@cp -L /lib64/ld-linux-x86-64.so.2 root/lib64/
|
||||||
|
root/etc/protocols: | root/etc
|
||||||
|
@cp -L /etc/protocols root/etc/
|
||||||
|
root/etc/services: | root/etc
|
||||||
|
@cp -L /etc/services root/etc/
|
||||||
root/usr: | root
|
root/usr: | root
|
||||||
@mkdir root/usr
|
@mkdir root/usr
|
||||||
root/usr/lib: | root/usr
|
root/usr/lib: | root/usr
|
||||||
|
@ -49,10 +61,10 @@ root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache: | root/usr/lib/x86_64-l
|
||||||
root/usr/lib/x86_64-linux-gnu/libgmp.so.10: | root/usr/lib/x86_64-linux-gnu
|
root/usr/lib/x86_64-linux-gnu/libgmp.so.10: | root/usr/lib/x86_64-linux-gnu
|
||||||
@cp -L /usr/lib/x86_64-linux-gnu/libgmp.so.10 root/usr/lib/x86_64-linux-gnu/
|
@cp -L /usr/lib/x86_64-linux-gnu/libgmp.so.10 root/usr/lib/x86_64-linux-gnu/
|
||||||
|
|
||||||
docker-integer-gmp: | root/bin/sh root/lib/x86_64-linux-gnu/libc.so.6 root/lib/x86_64-linux-gnu/libdl.so.2 root/lib/x86_64-linux-gnu/libm.so.6 root/lib/x86_64-linux-gnu/libpthread.so.0 root/lib/x86_64-linux-gnu/librt.so.1 root/lib/x86_64-linux-gnu/libutil.so.1 root/lib/x86_64-linux-gnu/libz.so.1 root/lib64/ld-linux-x86-64.so.2 root/usr/lib/x86_64-linux-gnu/gconv/UTF-16.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-32.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-7.so root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache root/usr/lib/x86_64-linux-gnu/libgmp.so.10
|
docker-integer-gmp: | root/bin/sh root/lib/x86_64-linux-gnu/libc.so.6 root/lib/x86_64-linux-gnu/libdl.so.2 root/lib/x86_64-linux-gnu/libm.so.6 root/lib/x86_64-linux-gnu/libpthread.so.0 root/lib/x86_64-linux-gnu/librt.so.1 root/lib/x86_64-linux-gnu/libutil.so.1 root/lib/x86_64-linux-gnu/libz.so.1 root/lib64/ld-linux-x86-64.so.2 root/usr/lib/x86_64-linux-gnu/gconv/UTF-16.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-32.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-7.so root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache root/usr/lib/x86_64-linux-gnu/libgmp.so.10 root/lib/x86_64-linux-gnu/libnss_files.so.2 root/lib/x86_64-linux-gnu/libnss_dns.so.2 root/lib/x86_64-linux-gnu/libresolv.so.2 root/etc/protocols root/etc/services
|
||||||
@tar -cC root .|docker import - haskell-scratch:integer-gmp
|
@tar -cC root .|docker import - haskell-scratch:integer-gmp
|
||||||
|
|
||||||
docker-integer-simple: | root/bin/sh root/lib/x86_64-linux-gnu/libc.so.6 root/lib/x86_64-linux-gnu/libdl.so.2 root/lib/x86_64-linux-gnu/libm.so.6 root/lib/x86_64-linux-gnu/libpthread.so.0 root/lib/x86_64-linux-gnu/librt.so.1 root/lib/x86_64-linux-gnu/libutil.so.1 root/lib/x86_64-linux-gnu/libz.so.1 root/lib64/ld-linux-x86-64.so.2 root/usr/lib/x86_64-linux-gnu/gconv/UTF-16.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-32.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-7.so root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
|
docker-integer-simple: | root/bin/sh root/lib/x86_64-linux-gnu/libc.so.6 root/lib/x86_64-linux-gnu/libdl.so.2 root/lib/x86_64-linux-gnu/libm.so.6 root/lib/x86_64-linux-gnu/libpthread.so.0 root/lib/x86_64-linux-gnu/librt.so.1 root/lib/x86_64-linux-gnu/libutil.so.1 root/lib/x86_64-linux-gnu/libz.so.1 root/lib64/ld-linux-x86-64.so.2 root/usr/lib/x86_64-linux-gnu/gconv/UTF-16.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-32.so root/usr/lib/x86_64-linux-gnu/gconv/UTF-7.so root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules root/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache root/lib/x86_64-linux-gnu/libnss_files.so.2 root/lib/x86_64-linux-gnu/libnss_dns.so.2 root/lib/x86_64-linux-gnu/libresolv.so.2 root/etc/protocols root/etc/services
|
||||||
@tar -c --exclude=libgmp.so.10 -C root .|docker import - haskell-scratch:integer-simple
|
@tar -c --exclude=libgmp.so.10 -C root .|docker import - haskell-scratch:integer-simple
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue