From 951fdf42192974cef9a5aa0e11db63318cd0b15b Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Thu, 27 Aug 2020 18:45:07 +0300 Subject: [PATCH] Remove 'src' dir --- Dockerfile | 3 +-- src/qemu-wrapper.c => qemu-wrapper.c | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename src/qemu-wrapper.c => qemu-wrapper.c (100%) diff --git a/Dockerfile b/Dockerfile index d6a2884..5823952 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,8 +33,7 @@ RUN apt-get update \ && apt-get clean COPY ./qemu-arm-static /usr/share/qemu-arm-static - -COPY ./src /tmp/src +COPY ./qemu-wrapper.c /tmp/src/qemu-wrapper.c RUN gcc -static /tmp/src/qemu-wrapper.c -O3 -s -o /usr/share/qemu-wrapper && rm -rf /tmp/src COPY ./img-tool /usr/sbin/ diff --git a/src/qemu-wrapper.c b/qemu-wrapper.c similarity index 100% rename from src/qemu-wrapper.c rename to qemu-wrapper.c