docToolchain / docker-image

MIT License
2 stars 18 forks source link

Is the alpine image broken? #39

Closed ehmkah closed 1 year ago

ehmkah commented 1 year ago

Just to confirm that I am not doing something wrong. For me it looks like the alpine image for doctoolchain is broken. Could someone confirm it?

If I build the standard doctoolchain with the following setup I receive an error, see below.

export DOCKERHUB_USERNAME=doctoolchainy
export DTC_VERSION=v2.0.5  

docker-image % docker build \
  -t ${DOCKERHUB_USERNAME}/doctoolchain:${DTC_VERSION} \
  --build-arg DTC_VERSION=${DTC_VERSION} \
  alpine 

I see the following error.

=> ERROR [ 6/12] RUN gem update --system  --no-rdoc --no-ri                                                                                                      7.1s
------                                                                                                                                                                 
 > [ 6/12] RUN gem update --system  --no-rdoc --no-ri:                                                                                                                 
#10 6.979 ERROR:  Error installing rubygems-update:                                                                                                                    
#10 6.979       There are no versions of rubygems-update (= 3.4.6) compatible with your Ruby & RubyGems                                                                
#10 6.979       rubygems-update requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.                                                                     
#10 6.979 ERROR:  While executing gem ... (NoMethodError)
#10 6.979     undefined method `version' for nil:NilClass
#10 6.998 Updating rubygems-update

Is it possible that the docker image for alpine is somehow broken?

rdmueller commented 1 year ago

yes, it seems to be broken. I also just tried to run the pipeline and it doesn't work for me. No changes visible. Any Idea?

rdmueller commented 1 year ago

thanx to @z0lberg , the image should work again. we switched mainly the base image from openJDK 14 to temurin 11

ehmkah commented 1 year ago

Thanks for fixing. I close the issue since its not broken anymore