Closed ivanperez-keera closed 9 months ago
Change Manager: ogma-core
should be listed right before ogma-cli
in the change list.
Implementor: Changes implemented, review requested.
Change Manager: Verified that:
Solution is implemented:
FROM ubuntu:trusty
RUN apt-get update
RUN apt-get install --yes software-properties-common RUN add-apt-repository ppa:hvr/ghc RUN apt-get update
RUN apt-get install --yes ghc-8.6.5 cabal-install-2.4 RUN apt-get install --yes libz-dev
ENV PATH=/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PWD/.cabal-sandbox/bin:$PATH
RUN cabal update RUN cabal v1-sandbox init RUN cabal v1-install alex happy RUN apt-get install --yes git
CMD git clone $REPO && \ cd $NAME && \ git checkout $COMMIT && \ cd .. && \ cabal v1-install $NAME/$PAT/ --enable-tests && \ cabal v1-install $NAME/$PAT/ --enable-tests --run-tests -j1
Command:
```sh
$ docker run -e "REPO=https://github.com/ivanperez-keera/ogma" -e "NAME=ogma" -e PAT="ogma-" -e "COMMIT=e9dcc89408e79e9a2f5d8d558e41660a67bccabf" -it ogma-test
FROM ubuntu:trusty
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install --yes software-properties-common RUN add-apt-repository ppa:hvr/ghc RUN apt-get update
RUN apt-get install --yes ghc-8.6.5 cabal-install-2.4 RUN apt-get install --yes libz-dev
ENV PATH=/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PWD/.cabal-sandbox/bin:$PATH
RUN cabal update RUN cabal v1-sandbox init RUN cabal v1-install alex happy RUN apt-get install --yes git
CMD git clone $REPO && \ cd $NAME && \ git checkout $COMMIT && \ cd .. && \ cabal v1-install $NAME/$PAT/ --enable-tests \ --constraint="ogma-cli==1.2.0" \ --constraint="ogma-core==1.2.0" \ --constraint="ogma-language-fret-reqs==1.2.0" \ --constraint="ogma-language-smv==1.2.0" \ --constraint="ogma-language-copilot==1.2.0" \ --constraint="ogma-language-cocospec==1.2.0" \ --constraint="ogma-language-c==1.2.0" \ --constraint="ogma-language-jsonspec==1.2.0" \ --constraint="ogma-extra==1.2.0" \ --constraint="ogma-spec==1.2.0" \ && \ cabal v1-install $NAME/$PAT/ --enable-tests --run-tests -j1
Command:
```sh
$ docker run -e "REPO=https://github.com/ivanperez-keera/ogma" -e "NAME=ogma" -e PAT="ogma-" -e "COMMIT=e9dcc89408e79e9a2f5d8d558e41660a67bccabf" -it ogma-verify-117
Update version numbers of all packages and adjust dependencies, as prescribed in the solution proposed for #117.