Skip to content

Commit

Permalink
curl -> wget
Browse files Browse the repository at this point in the history
  • Loading branch information
skaji committed Oct 7, 2024
1 parent dc5f183 commit b798f95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN yum install -y \
gcc \
make \
tar \
curl \
wget \
patch \
xz
RUN mkdir -p \
Expand All @@ -39,11 +39,11 @@ RUN mkdir -p \
/usr/lib64 \
/usr/local/lib \
/usr/local/lib64
RUN curl -fsSL https://raw.githubusercontent.com/skaji/relocatable-perl/main/perl-install | bash -s /perl
RUN curl -fsSL --compressed -o /cpm https://raw.githubusercontent.com/skaji/cpm/main/cpm
RUN wget -q -O - https://raw.githubusercontent.com/skaji/relocatable-perl/main/perl-install | bash -s /perl
RUN wget -q -O /cpm https://raw.githubusercontent.com/skaji/cpm/main/cpm
RUN --mount=type=bind,target=src /perl/bin/perl /cpm install -g --cpmfile src/build/cpm.yml

# RUN rm -f /usr/lib64/libcrypt.so /usr/lib64/libcrypt.so.1
RUN rm -f /usr/lib64/libcrypt.so /usr/lib64/libcrypt.so.1
COPY --from=static-libcrypt /libcrypt.a /usr/lib64/libcrypt.a
RUN --mount=type=bind,target=src /perl/bin/perl src/build/relocatable-perl-build --perl_version $(cat src/BUILD_VERSION) --prefix /opt/perl
RUN cd /usr/lib64; \
Expand Down
3 changes: 0 additions & 3 deletions build/relocatable-perl-build
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@ sub perl_build {
}
}
say "---> building perl $perl_version, see $log for progress";
if ($^O eq "linux") {
system "rm -f /usr/lib64/libcrypt.so /usr/lib64/libcrypt.so.1"; # XXX
}
run \@Configure, $log;
my @option = $jobs ? ("--jobs=$jobs") : ();
run ["make", @option, "install"], $log;
Expand Down

0 comments on commit b798f95

Please sign in to comment.