File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ RUN set -eux; \
113
113
{{ ) else "" end -}}
114
114
; \
115
115
{{ ) end -}}
116
- {{ if .rust.version then ( -}}
117
116
\
118
117
rustArch=; \
119
118
{{ def archVar: if is_alpine then "apkArch" else "dpkgArch" end -}}
@@ -181,7 +180,6 @@ RUN set -eux; \
181
180
rustc --version; \
182
181
cargo --version; \
183
182
fi; \
184
- {{ ) else "" end -}}
185
183
\
186
184
wget -O ruby.tar.xz "$RUBY_DOWNLOAD_URL"; \
187
185
echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum --check --strict; \
@@ -208,16 +206,12 @@ RUN set -eux; \
208
206
--build="$gnuArch" \
209
207
--disable-install-doc \
210
208
--enable-shared \
211
- {{ if .rust.version then ( -}}
212
209
${rustArch:+--enable-yjit} \
213
- {{ ) else "" end -}}
214
210
; \
215
211
make -j "$(nproc)"; \
216
212
make install; \
217
213
\
218
- {{ if .rust.version then ( -}}
219
214
rm -rf /tmp/rust; \
220
- {{ ) else "" end -}}
221
215
{{ if is_alpine then ( -}}
222
216
runDeps="$( \
223
217
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
You can’t perform that action at this time.
0 commit comments