Skip to content

Commit 4e9d24b

Browse files
author
Rub21
committed
Set version for oxipng library
1 parent 69f545d commit 4e9d24b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/web/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ RUN echo "gem 'terser', '~> 1.1.3'" >> Gemfile
123123
# RUN gem install nokogiri -- --use-system-libraries
124124

125125
RUN apt-get install -y cargo
126-
RUN git clone https://github.com/shssoichiro/oxipng.git
126+
# Set version 5.0.1 for oxipng
127+
RUN git clone https://github.com/shssoichiro/oxipng.git && cd oxipng && git checkout c888142bcb7a68a430245cb3eae5b6039aeb0e56
127128
RUN cd oxipng && cargo build --release && cp target/release/oxipng /usr/local/bin
128129

129130
# Install app dependencies

0 commit comments

Comments
 (0)