Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Dockerfiles to copy install-dotnets.sh correctly on new versions of Docker. #257

Merged
merged 2 commits into from
Apr 29, 2022

Conversation

StachuDotNet
Copy link
Contributor

@StachuDotNet StachuDotNet commented Apr 29, 2022

I faced an issue using the devcontainer locally, and turned out to be resolved by this little change:
https://stackoverflow.com/questions/53650492/when-using-copy-with-more-than-one-source-file-the-destination-must-be-a-direct

This adjusts the Dockerfiles to have a trailing / on the end of the
COPY ./.devcontainer/install-dotnets.sh global.json* .
lines.

I haven't tested this with other (older?) versions of Docker, but suspect it'll be fine.
FWIW I'm currently on Docker version 20.10.14, build a224086

@TheAngryByrd
Copy link
Owner

Thanks!

@TheAngryByrd TheAngryByrd merged commit e6eee23 into TheAngryByrd:master Apr 29, 2022
TheAngryByrd added a commit that referenced this pull request Apr 29, 2022
## [0.31.1-beta001] - 2022-04-29

### Fixed
- [Adjust Dockerfiles to copy install-dotnets.sh correctly on new versions of Docker.](#257)
TheAngryByrd added a commit that referenced this pull request Apr 29, 2022
## [0.31.1] - 2022-04-29

### Fixed
- [Adjust Dockerfiles to copy install-dotnets.sh correctly on new versions of Docker.](#257)
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