Skip to content

Commit

Permalink
don't tar configs files, should cp before
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadrien Froger committed Oct 2, 2023
1 parent b355f30 commit 42794bb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions dockerfiles/onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 42794bb

Please sign in to comment.