GithubHelp home page GithubHelp logo

Comments (10)

t-paul avatar t-paul commented on June 13, 2024 2

Images of 2019.05 and 2021.01 based on Debian Buster and dev snapshot based on Debian Bookworm are now available at:

https://hub.docker.com/repository/docker/openscad/openscad

from docker-openscad.

kasbah avatar kasbah commented on June 13, 2024 1

Sure, if you can just apt install that makes it easier too. I think having an "official" openscad docker image for based on alpine would still be cool. People with a little familiarity with docker will know exactly what to do with it.

from docker-openscad.

t-paul avatar t-paul commented on June 13, 2024

Ah, nice. See discussion in #2, would that change already cover what you need for the CI?

from docker-openscad.

kasbah avatar kasbah commented on June 13, 2024

I am not sure, sorry. I don't understand those changes.

We just want to be able to say image: openscad/openscad:latest in our CI config and use that for our builds. Maybe something similar is already possible and I just don't know about it?

I guess it's less important for us since we already set up a working CI, but for new projects that want to set up OpenSCAD builds in CI, it could be much simpler than figuring out how to get an up-to-date OpenSCAD into another image.

(We'd also need to install Python alongside OpenSCAD but I assume that will be less fuss.)

from docker-openscad.

t-paul avatar t-paul commented on June 13, 2024

Well, it's just unfortunate that OpenSCAD fell out of Ubuntu 18.04 for totally Ubuntu unrelated reasons. It should be back in 20.04 (unfortunately we'll likely miss the deadline for getting a new release out, but 2019.05 should be there). So the normal expectation is to be able to just use apt-get install openscad. I've not tested it, but OpenSCAD is also available in the Alpine package repo for minimal image sizes.

That said, maybe having a separate base image might be still useful with tags for releases and :nightly tracking master branch builds. I'm not sure what the best base image would be, but I suspect latest Ubuntu LTS is probably the way to go.

from docker-openscad.

dimo414 avatar dimo414 commented on June 13, 2024

Official user-facing Docker images would be great, I came across this repo and the images in https://hub.docker.com/u/openscad (by Googling [docker openscad], of course) looking for an image I could just run with.

It'd also be helpful to document in Docker Hub and the README here the purpose of these images, since I spent a few minutes trying to figure it out.

from docker-openscad.

spuder avatar spuder commented on June 13, 2024

I also would like to be able to run docker run openscad/openscad:latest in a CI System.

Do none of these images provide a working openscad binary?
https://hub.docker.com/u/openscad

❌ = mxe-x86_64-gui (not sure what this does?)
❌ = mxe-x86_64-openscad (creates a tarball)
❌ = appimage-x86_64-base (creates /appimage directory but there are no working binaries in that folder)
🟢 = appimage-x86_64-openscad (creates a tarball ,this could be modified to work with a modified entrypoint as shown here; however it appears that only the arm builds got pushed to dockerhub, no intel builds got pushed. 😢 )

from docker-openscad.

t-paul avatar t-paul commented on June 13, 2024

No, those images are still only meant for the OpenSCAD CI Pipeline. I'd like that to change at some point, but without help that may or may not happen in the near future.

from docker-openscad.

spuder avatar spuder commented on June 13, 2024

Thank you. I will look into how much work it would be and try and see if I am able to contribute.

For anyone else looking to create an openscad image, you could try making your own docker container.

FROM ubuntu:20.04
RUN apt update && apt install -y openscad
docker build . -t foobar/openscad

Unfortunately the latest version of openscad in ubuntu repos is 2019.05

openscad --version
OpenSCAD version 2019.05

from docker-openscad.

spuder avatar spuder commented on June 13, 2024

I've built my own openscad containers that work for my pipelines

docker pull spuder/openscad:latest

Documentation is available in this repo https://github.com/spuder/openscad-dockerhub

It is based off of the 2021.01 release running on official debian docker container

from docker-openscad.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.