try this one.
This commit is contained in:
parent
568ea88de7
commit
1fe6fe68cc
14
Dockerfile
14
Dockerfile
|
@ -37,12 +37,12 @@ RUN JEKYLL_ENV=production bundle exec jekyll build
|
|||
|
||||
## Cleanup to debulk the image
|
||||
|
||||
RUN apt remove -y manpages ruby x11-common ruby* make python gcc cpp gnupg git git-man
|
||||
RUN apt -y autoremove
|
||||
RUN test -d $SITE_PATH && for i in $(ls -1 $SITE_ROOT | grep -v _site); do rm -rf $SITE_ROOT/$i ; done
|
||||
RUN rm -rf /root/.bundle/cache
|
||||
RUN rm -rf /var/cache
|
||||
RUN rm -rf /var/lib/apt
|
||||
RUN rm -rf /var/lib/dpkg
|
||||
#RUN apt remove -y manpages ruby x11-common ruby* make python gcc cpp gnupg git git-man
|
||||
#RUN apt -y autoremove
|
||||
#RUN test -d $SITE_PATH && for i in $(ls -1 $SITE_ROOT | grep -v _site); do rm -rf $SITE_ROOT/$i ; done
|
||||
#RUN rm -rf /root/.bundle/cache
|
||||
#RUN rm -rf /var/cache
|
||||
#RUN rm -rf /var/lib/apt
|
||||
#RUN rm -rf /var/lib/dpkg
|
||||
|
||||
ENTRYPOINT /usr/local/sbin/entrypoint.sh
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
</div>
|
||||
|
||||
{% assign sorted_imgs = page.images | sort %}
|
||||
{{ page.path }}
|
||||
|
||||
<div id="gallery">
|
||||
{% for image in sorted_imgs %}
|
||||
|
@ -36,11 +37,13 @@
|
|||
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
|
||||
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
|
||||
</a>
|
||||
{% comment %}
|
||||
{% assign image_path = "{page.path.split('/index.html')[0]}/#{image[0]}" %}
|
||||
{% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %}
|
||||
{% if has_exif %}
|
||||
Camera: {{ image_path | exif: 'model' }}
|
||||
{% endif %}
|
||||
{% endcomment %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue