Skip to content

chore: remove dockerfile - #6350

Merged
jedevc merged 1 commit into
dagger:mainfrom
jedevc:remove-dockerfile
Jan 2, 2024
Merged

jedevc merged 1 commit into
dagger:mainfrom
jedevc:remove-dockerfile

Conversation

@jedevc

@jedevc jedevc commented Jan 2, 2024 •

Copy link
Copy Markdown
Contributor

cc @marcosnils as the last person to edit this file 👀

As far as I'm aware, this Dockerfile isn't actually used for anything? It's not used in our own internal/mage package, and it isn't referenced anywhere in our docs, I think this is legacy from before dagger was built in dagger? Also, since go 1.21, this dockerfile no longer even builds! (gotta love the best error message of all time invalid go version '1.21.5': must match format 1.23)

Additionally, the constants for go versions and alpine are out-of-date from the rest of the code.

Should also close #6349

As far as I'm aware, this Dockerfile isn't actually used for anything?
It's not used in our own internal/mage package, and it isn't referenced
anywhere in our docs, I think this is legacy from before dagger was
built in dagger? Also, since go 1.21, this dockerfile no longer even
builds! (gotta love the best error message of all time `invalid go
version '1.21.5': must match format 1.23`)

Additionally, the constants for go versions and alpine are out-of-date
from the rest of the code.

Signed-off-by: Justin Chadwell <[email protected]>

@marcosnils marcosnils left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! this Dockerfile was there to enable older versions of the the dagger-for-github action to be able to build from source: #4069

Since the newer action only allows to install the dagger CLI from pre-built binaries. It makes sense to remove this now.

@jedevc

jedevc commented Jan 2, 2024

Copy link
Copy Markdown
Contributor Author

Oh, I hadn't realized that was the context.

Could there still potentially be users using the old github action? I don't want to have a repeat of the issue from there - though I guess what's changed is that we have decided what to do with dagger-for-github now.

@marcosnils

Copy link
Copy Markdown
Contributor

Could there still potentially be users using the old github action?

I doubt it. If that's still the case, since you pointed out, this Dockerfile doesn't work anymore so those users would have to change their pipelines anyways as they'd be broken.

@jedevc
jedevc merged commit 746339f into dagger:main Jan 2, 2024
@jedevc
jedevc deleted the remove-dockerfile branch January 2, 2024 15:21
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

Successfully merging this pull request may close these issues.

2 participants