Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix broken Dockerfile#640

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
joaomoreno merged 1 commit intomicrosoft:mainfromSimonSegerblomRex:fix-broken-dockerfile
Oct 18, 2021
Merged

Fix broken Dockerfile#640

joaomoreno merged 1 commit intomicrosoft:mainfromSimonSegerblomRex:fix-broken-dockerfile
Oct 18, 2021

Conversation

SimonSegerblomRex
Copy link
Contributor

Hi! Thanks for providing the Dockerfile here. I just ranvsce for the first time to publish my first Visual Studio Code extension. I needed to fix a couple of things in the Dockerfile though to get it working with my environment:

Building the image using the instructions in theREADME

$ docker build -t vsce .

fails with

Step 3/10 : COPY package.json package-lock.json .When using COPY with more than one source file, the destination must be a directory and end with a /

so I just added the/.

Then there were issues with theENTRYPOINT when running the container:

$ docker run -it vsce --versiondocker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/opt/vsce/out/vsce": stat /opt/vsce/out/vsce: no such file or directory: unknown.ERRO[0001] error waiting for container: context canceled

I just fixed the path/opt/vsce/vsce, but I haven't dug any deeper to check if the path is actually supposed to be/opt/vsce/out/vsce and there's a better way of fixing this issue.

I'm running Debian buster with

$ docker --versionDocker version 20.10.7, build f0df350

nderjung reacted with thumbs up emoji
Just some quick fixes to get the docker imageto build and the container to run.
@joaomorenojoaomoreno self-assigned thisOct 18, 2021
@joaomorenojoaomoreno added this to theOctober 2021 milestoneOct 18, 2021
@joaomorenojoaomoreno merged commit5deecb0 intomicrosoft:mainOct 18, 2021
@joaomoreno
Copy link
Member

Thanks! 🍻

SimonSegerblomRex reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@joaomorenojoaomoreno

Projects
None yet
Milestone
October 2021
Development

Successfully merging this pull request may close these issues.

2 participants
@SimonSegerblomRex@joaomoreno

[8]ページ先頭

©2009-2025 Movatter.jp