Skip to content

Conversation

@kfcampbell
Copy link
Contributor

While looking at #3 I felt like we had an opportunity to retain typing/syntax help from our editors for our Dockerfile if we used Go's embed package. This PR does so!

Copy link
Contributor

@adonovan adonovan left a comment

Choose a reason for hiding this comment

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

I don't have strong feelings either way, but I'm not sure this change adds much: the string constant was perfectly clear (notably, it's not as if it had any burden of escape sequences) and was defined close to its point of use, making the whole program visible at a glance.

@kfcampbell
Copy link
Contributor Author

I like the idea of being able to build the Dockerfile locally to use/test without running the entire Go program.

I understand the "visible at a glance" argument though, and I'll defer to your judgement.

@adonovan
Copy link
Contributor

I like the idea of being able to build the Dockerfile locally to use/test without running the entire Go program.

OK, that's a reason. LGTM.

@kfcampbell kfcampbell merged commit e613ee4 into run-once Jan 10, 2022
@kfcampbell kfcampbell deleted the embed-dockerfile branch January 10, 2022 19:52
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.

3 participants