Я взял ваш докер-файл и следовал учебному пособию по быстрому запуску jekyll . Хотя я на самом деле не могу собрать ваш dockerfile, так как вы выбрали базовый образ jekyll / минимальный, изменение его на jekyll / builder заставляет весь процесс работать с небольшими изменениями. Вместо этого я строю в папке / tmp.
Truncated...
Fetching minima 2.5.0
Installing minima 2.5.0
Bundle complete! 4 Gemfile dependencies, 29 gems now installed.
Bundled gems are installed into `/usr/local/bundle`
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux-musl]
Configuration file: /tmp/_config.yml
Source: /tmp
Destination: /tmp/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.507 seconds.
Auto-regeneration: disabled. Use --watch to enable.
Removing intermediate container 10159e9e7776
---> cab3989600a7
Step 5/6 : FROM pierrezemb/gostatic
---> bbc54b2880be
Step 6/6 : COPY --from=build /tmp/_site /srv/http
---> 860f5db9d0f3
Successfully built 860f5db9d0f3
Successfully tagged test:latest
Если вы отправите мне ссылку GitHub на ваш код, я посмотрю, возможно, вы где-то сделали опечатку?
(Вот мой dockerfile, который работает с руководством от jekyll)
FROM jekyll/builder as build
WORKDIR /tmp
COPY . /tmp
RUN jekyll build
FROM pierrezemb/gostatic
COPY --from=build /tmp/_site /srv/http