From 82a288289aa199c6c7b090c384c38e048d62405a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Laurent?= <francois.laurent@posteo.net>
Date: Wed, 8 Jun 2022 18:26:49 +0200
Subject: [PATCH] to squash with previous commit

---
 recipes/Dockerfile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/recipes/Dockerfile b/recipes/Dockerfile
index 2310a13..04b44f0 100644
--- a/recipes/Dockerfile
+++ b/recipes/Dockerfile
@@ -7,13 +7,10 @@ RUN apt-get update && apt-get install -y \
  && rm -rf /var/lib/apt/lists/* \
  && git clone --depth 1 --single-branch -b $BRANCH https://gitlab.pasteur.fr/nyx/larvatagger.jl $DIRNAME \
  && julia --project=$DIRNAME -e 'using Pkg; Pkg.instantiate()' \
- && ln -s /$DIRNAME/scripts/larvatagger.jl /bin \
- && rm -f $DIRNAME/test/precompile* \
- && rm -f $DIRNAME/scripts/larvatagger.jl
+ && ln -s /$DIRNAME/scripts/larvatagger.jl /bin
 
-COPY scripts/larvatagger.jl $DIRNAME/scripts/
-COPY test/precompile* test/data_sample* $DIRNAME/test/
-COPY src/cli.jl $DIRNAME/src/
+# COPY requires at least one file defined, hence `test/precompile.jl`
+COPY test/precompile.jl test/data_sample* $DIRNAME/test/
 
 ARG TIMEZONE=UTC
 RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
-- 
GitLab