Skip to content

Commit

Permalink
config update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-tebiev committed Sep 27, 2024
1 parent 192a227 commit 42870ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
12 changes: 9 additions & 3 deletions docker/thumbor-7.7/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ RUN set -eux \
# remotecv is required for queued OpenCV processing
"remotecv==5.*,>=5.1.8" \
# thumbor
thumbor[all]==7.7.* thumbor-aws==0.8.* tc_prometheus==2.* \
&& thumbor --version && envtpl --help
thumbor[all]==7.7.* thumbor-aws==0.8.* tc_prometheus==2.*

ARG TZ='UTC'
ENV TZ=$TZ
Expand All @@ -74,7 +73,14 @@ RUN set -eux \
&& mkdir /data/ \
&& mkdir /docker-entrypoint.init.d/ \
# Running `thumbor-doctor` to smoke test functionality
&& thumbor-doctor
&& thumbor-doctor \
&& thumbor --version \
&& envtpl --help \
&& jpegtran -version \
&& ffmpeg -version \
&& gifsicle --version



ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
CMD ["thumbor"]
Expand Down
6 changes: 4 additions & 2 deletions docker/thumbor-7.7/slim-alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ RUN set -eux \
"numpy==1.*,>=1.26.3" \
# pycurl is required for thumbor
"pycurl==7.*,>=7.45.2" thumbor==7.7.* thumbor-aws==0.8.* tc_prometheus==2.* \
&& thumbor --version && envtpl --help \
##
## Optional extensions
##
Expand Down Expand Up @@ -76,7 +75,10 @@ RUN set -eux \
# /data/ dir is used by thumbor
&& mkdir /data/ \
&& mkdir /docker-entrypoint.init.d/ \
&& thumbor --version
&& thumbor --version \
&& envtpl --help \
&& jpegtran -version \
&& gifsicle --version

# Enable nobody user
#RUN set -eux \
Expand Down
2 changes: 1 addition & 1 deletion examples/read-from-S3-cache-to-S3/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

services:
thumbor:
image: ghcr.io/beeyev/thumbor-s3:slim-alpine-test
image: beeyev/thumbor-s3:debian
restart: unless-stopped
tty: true
ports:
Expand Down

0 comments on commit 42870ad

Please sign in to comment.