chef-workstation icon indicating copy to clipboard operation
chef-workstation copied to clipboard

Package and OS version mismatch in the Dockerfile

Open varnav opened this issue 1 year ago • 5 comments

Dockerfile line 1, 22.04 image is used:

FROM ubuntu:22.04

Dockerfile line 24, URL for 18.04 package is used:

wget --content-disposition "http://packages.chef.io/files/${CHANNEL}/chef-workstation/${VERSION}/ubuntu/18.04/chef-workstation_${VERSION}-1_amd64.deb" -O /tmp/chef-workstation.deb && \

varnav avatar Dec 04 '24 19:12 varnav

Also it would make sense to use https, it fails SonarQube tests for us.

varnav avatar Dec 04 '24 19:12 varnav

Is it fixed? Thank you.

varnav avatar Aug 06 '25 15:08 varnav

@varnav yes it is fixed https://github.com/chef/chef-workstation/blob/main/Dockerfile#L1

Vasu1105 avatar Aug 07 '25 06:08 Vasu1105

It has 18.04 (instead of 22.04) and http (instead of https) at this line:

https://github.com/chef/chef-workstation/blob/ee469c63aaafca54f7a9f6267217c592c92e8876/Dockerfile#L24

varnav avatar Aug 07 '25 14:08 varnav

Hello!

I see issue is closed, but nothing has been changed. Currently Dockerfile line 1, 22.04 image is used, but on line 24, URL for 18.04 package is used.

Can you please clarify?

varnav avatar Aug 14 '25 15:08 varnav