Fini TP1
This commit is contained in:
14
step1.1/dockerfile
Normal file
14
step1.1/dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
#Tache 1.1
|
||||
FROM scratch
|
||||
WORKDIR /
|
||||
COPY hello_dyn /
|
||||
COPY lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6
|
||||
COPY lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
|
||||
CMD ["/hello_dyn"]
|
||||
|
||||
#Tache 1.2
|
||||
COPY hello /
|
||||
CMD ["/hello"]
|
||||
|
||||
|
||||
|
||||
BIN
step1.1/hello
BIN
step1.1/hello
Binary file not shown.
BIN
step1.1/hello_dyn
Executable file
BIN
step1.1/hello_dyn
Executable file
Binary file not shown.
BIN
step1.1/lib/x86_64-linux-gnu/libc.so.6
Executable file
BIN
step1.1/lib/x86_64-linux-gnu/libc.so.6
Executable file
Binary file not shown.
BIN
step1.1/lib64/ld-linux-x86-64.so.2
Executable file
BIN
step1.1/lib64/ld-linux-x86-64.so.2
Executable file
Binary file not shown.
9
step1.1/readme
Normal file
9
step1.1/readme
Normal file
@@ -0,0 +1,9 @@
|
||||
>ldd hello_dyn
|
||||
linux-vdso.so.1 (0x00007da294360000)
|
||||
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007da294000000)
|
||||
/lib64/ld-linux-x86-64.so.2 (0x00007da294362000)
|
||||
|
||||
>mkdir -p lib/x86_64-linux-gnu lib64
|
||||
|
||||
>cp /lib/x86_64-linux-gnu/libc.so.6 lib/x86_64-linux-gnu/
|
||||
>cp /lib64/ld-linux-x86-64.so.2 lib64/
|
||||
Reference in New Issue
Block a user