- Option 1: Don't include hidden file
rsync -r --exclude=".*" source/ destination/
FROM ruby:2.6.1 | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash \ | |
&& apt-get update && apt-get install -y nodejs xvfb libfontconfig wkhtmltopdf && rm -rf /var/lib/apt/lists/* \ | |
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ | |
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ | |
&& apt-get update && apt-get install -y yarn && rm -rf /var/lib/apt/lists/* | |
# Packages for wkhtmltopdf. These are available in ubuntu but not in debian 9. Base image uses debian 9. | |
RUN wget -q -O /tmp/libjpeg-turbo8.deb http://archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_2.0.1-0ubuntu2_amd64.deb \ | |
&& dpkg -i /tmp/libjpeg-turbo8.deb \ |