On Mon, May 22, 2023 at 2:53 AM Justin Mclean <[email protected]> wrote:
> > The docker image is not a convenience package (this also foesnt make sense
> > since Pekko is a library), it's for creating a reproducible environment for
> > making a release. There are other ways to do this such as a VM image but
> > docker is the least friction solution.
>
> I’m not sure if this is the case, but requiring docker to check the release
> may be a barrier to getting IPMC votes on your release.
While I'm sure the docker image is a convenience for those who are
happy to run it, I plan to also rebuild releases outside of it. Having
the two JDK's available is a somewhat unusual requirement but not that
hard to achieve - on most distro's it's likely a matter of installing
them both, on NixOS I use the following `shell.nix`:
```
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
(pkgs.sbt.override {
jre = pkgs.jdk11;
})
];
JAVA_8_HOME = "${pkgs.jdk8}/lib/openjdk";
}
```
The override to use jdk11 is probably not strictly needed, but there
to be conservative.
Of course I'm not on the IPMC, so this doesn't matter from the formal
voting perspective, but I think it's healthy to test with a diverse
set of build setups.
Unfortunately it looks like the scala 3 artifacts will not be
bit-by-bit reproducible for now
(https://github.com/lampepfl/dotty/issues/17330)
Arnout
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]