Skip to content

Commit

Permalink
Merge pull request #6176 from kit-ty-kate/fix-release-2.2
Browse files Browse the repository at this point in the history
[2.2 backport] release: fix the docker phase
  • Loading branch information
kit-ty-kate authored Aug 22, 2024
2 parents 7b95e1f + 34fb54e commit b03afad
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 b03afad

Please sign in to comment.