From 1a74a792bc28cb94f43ca5018ac99889a85e0359 Mon Sep 17 00:00:00 2001 From: _ <> Date: Sun, 18 Jul 2021 00:21:43 +0000 Subject: [PATCH] :construction: --- prototypes/quic_demo/Dockerfile | 4 +++- prototypes/quic_demo/build_app_package.bash | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/prototypes/quic_demo/Dockerfile b/prototypes/quic_demo/Dockerfile index 930db77..4e7e283 100644 --- a/prototypes/quic_demo/Dockerfile +++ b/prototypes/quic_demo/Dockerfile @@ -76,6 +76,8 @@ WORKDIR /home/ptth_user COPY --from=build /ptth/target/release/quic_demo_relay_server ./ ARG git_version -RUN echo -n "$git_version" > ./git_version.txt +RUN \ +echo -n "$git_version" > ./git_version.txt && \ +ln -s quic_demo_relay_server app CMD ["/usr/bin/tini", "--", "./quic_demo_relay_server"] diff --git a/prototypes/quic_demo/build_app_package.bash b/prototypes/quic_demo/build_app_package.bash index bf4bce0..9322ba2 100755 --- a/prototypes/quic_demo/build_app_package.bash +++ b/prototypes/quic_demo/build_app_package.bash @@ -14,6 +14,6 @@ popd sudo docker run --rm "$DOCKER_TAG" tar -c \ quic_demo_relay_server \ -| gzip > "app_packages/ptth_relay_$GIT_COMMIT_SHORT.tar.gz" +| gzip > "app_packages/ptth_quic_relay_$GIT_COMMIT_SHORT.tar.gz" -sudo docker build -f app_package_Dockerfile -t ptth_app_host:latest . +# sudo docker build -f app_package_Dockerfile -t ptth_app_host:latest .