From 42794bbe7599ac7b1a2e02bcaa29ab3a022d59cb Mon Sep 17 00:00:00 2001 From: Hadrien Froger Date: Mon, 2 Oct 2023 06:23:41 +0100 Subject: [PATCH] don't tar configs files, should cp before --- dockerfiles/onbuild/Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/dockerfiles/onbuild/Dockerfile b/dockerfiles/onbuild/Dockerfile index b5fb0fc..97dac31 100644 --- a/dockerfiles/onbuild/Dockerfile +++ b/dockerfiles/onbuild/Dockerfile @@ -150,12 +150,4 @@ ONBUILD RUN \ # Setup local bundle configurations && bundle config --global build.nokogiri --use-system-libraries \ && bundle config --global build.charlock_holmes --with-icu-dir=/usr/include \ - && bundle config --global path "$BUNDLE_PATH" \ - # In many infrastructures, volumes might remove - # bounded directories. Keep a copy of essentials - # files in tmp/ directory can save some lifes - && mkdir -p $ROOT/tmp \ - && tar cfvz tmp/public.bak.tar.gz public \ - && tar cfvz tmp/storage.bak.tar.gz storage \ - && tar cfvz tmp/db.bak.tar.gz db \ - && tar cfvz tmp/config.bak.tar.gz config + && bundle config --global path "$BUNDLE_PATH" \ No newline at end of file