From e173f91af8725b618ef85ce9b1a0599294cc6dc1 Mon Sep 17 00:00:00 2001 From: Andreea Florescu Date: Tue, 14 Mar 2023 12:51:29 +0100 Subject: [PATCH] remove information about commit For the sake of simplicity and being able to roll out the first true automation for this repository, we are removing the information about the commit on which the container was built. This should be readded at a later point. Tracked-by: https://github.com/rust-vmm/rust-vmm-container/issues/74 Signed-off-by: Andreea Florescu --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01a9780..c2afaf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM ubuntu:22.04 ARG RUST_TOOLCHAIN="1.67.1" -ARG GIT_COMMIT -ARG GIT_BRANCH # Adding rust binaries to PATH. ENV PATH="$PATH:/root/.cargo/bin" @@ -54,5 +52,3 @@ RUN cd /opt/ && \ git clone --depth 1 --branch v2.0 https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ && \ cd libgpiod && ./autogen.sh --prefix=/usr && make && make install; \ cd - -RUN echo "{\"rev\":\"$GIT_COMMIT\",\"branch\":\"${GIT_BRANCH}\"}" > /buildinfo.json