Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems building docker image for arm64 #206

Open
rpgoldman opened this issue Apr 14, 2022 · 0 comments
Open

Problems building docker image for arm64 #206

rpgoldman opened this issue Apr 14, 2022 · 0 comments

Comments

@rpgoldman
Copy link
Contributor

(For those who, like myself, have an M1 Mac:) It's not possible to build the Docker image for arm64 because of a goof in the way sbt is packaged for Debian. It's actually an architecture-independent package, but apt-get does not recognize it as such. For more details, see sbt/sbt#6614

I have worked around this for now by hacking the following into the Dockerfile, but it's ugly. I'm not sure what's a better solution:

# Workaround because of bug in sbt from Debian.  
# See https://github.com/sbt/sbt/issues/6614
RUN wget https://scala.jfrog.io/artifactory/debian/sbt-1.6.2.deb && \
    apt install ./sbt-1.6.2.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant