Skip to content

Commit ab21fee

Browse files
committed
fix(docker): solve issue with openssl
1 parent c37598b commit ab21fee

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docker/cross-compilation/openssl.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Copyright 2016-2019 Jorge Aparicio, Marco A L Barbosa & bgermann.
2-
#
2+
#
33
# https://github.com/rust-embedded/cross/blob/master/docker/openssl.sh
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
77
# You may obtain a copy of the License at
8-
#
8+
#
99
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
10+
#
1111
# Unless required by applicable law or agreed to in writing, software
1212
# distributed under the License is distributed on an "AS IS" BASIS,
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -24,6 +24,7 @@ main() {
2424
local dependencies=(
2525
ca-certificates
2626
curl
27+
wget
2728
m4
2829
make
2930
perl
@@ -42,8 +43,8 @@ main() {
4243
td=$(mktemp -d)
4344

4445
pushd $td
45-
curl https://www.openssl.org/source/openssl-$version.tar.gz | \
46-
tar --strip-components=1 -xz
46+
wget https://www.openssl.org/source/openssl-$version.tar.gz
47+
tar --strip-components=1 -xzvf openssl-$version.tar.gz
4748
AR=${triple}ar CC=${triple}gcc ./Configure \
4849
--prefix=/openssl \
4950
no-dso \

0 commit comments

Comments
 (0)