Skip to content

Commit

Permalink
release: fix the docker phase
Browse files Browse the repository at this point in the history
Would prepend the output of the configure script before
  • Loading branch information
kit-ty-kate committed Aug 22, 2024
1 parent 7b95e1f commit 34fb54e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ users)
## Infrastructure

## Release scripts
* Fix the binaries built by docker as the result of the configure script was prepended [#6175 @kit-ty-kate - fix #6174]

## Install script

Expand Down
13 changes: 7 additions & 6 deletions release/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ RUN apk add patch
ENV PATH /usr/local/bin:/usr/bin:/bin
USER opam
WORKDIR /home/opam/
CMD tar xz >&2 && \
cd opam-full-${VERSION} >&2 && \
./configure --with-vendored-deps --with-mccs && \
echo "(${LINKING})" > src/client/linking.sexp && \
make opam >&2 && \
strip opam >&2 && \
CMD { tar xz && \
cd opam-full-${VERSION} && \
./configure --with-vendored-deps --with-mccs && \
echo "(${LINKING})" > src/client/linking.sexp && \
make opam && \
strip opam ; \
} >&2 && \
cat opam

0 comments on commit 34fb54e

Please sign in to comment.