Skip to content

make docker build working with after a fresh checkout#72

Closed
zerdos wants to merge 9 commits into
coder:masterfrom
zerdos:master
Closed

make docker build working with after a fresh checkout#72
zerdos wants to merge 9 commits into
coder:masterfrom
zerdos:master

Conversation

@zerdos

@zerdos zerdos commented Mar 7, 2019

Copy link
Copy Markdown

No description provided.

Comment thread build/tasks.ts

runner.cwd = vscodePath;
const checkout = await runner.execute("git", ["checkout", "tags/1.31.1"]);
const checkout = await runner.execute("git", ["checkout", "tags/1.31.1"]); //TODO: this tag should come from a parameter

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What do you mean by a parameter?

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.

I guess he means it shouldn't be hard coded.

@zerdos zerdos requested a review from nhooyr as a code owner March 7, 2019 20:26
Comment thread Dockerfile
@@ -1,4 +1,4 @@
FROM node:8.15.0
FROM node:8.9.3

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.

Why the change?

Comment thread Dockerfile
FROM ubuntu:18.10
WORKDIR /root/project
COPY --from=0 /src/packages/server/cli-linux /usr/local/bin/code-server
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server

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.

afaik, there shouldn't be a -x64 suffix?

@kylecarbs

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

There should be - that is actually the only output

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.

Yup. This was recently changed without me knowing. It's fixed in #109.

@nhooyr

nhooyr commented Mar 7, 2019

Copy link
Copy Markdown
Contributor

I don't understand what this PR fixes. How does docker build . not work after a fresh checkout?

@nhooyr

nhooyr commented Mar 7, 2019

Copy link
Copy Markdown
Contributor

See #72

@nhooyr nhooyr closed this Mar 7, 2019
@zerdos

zerdos commented Mar 7, 2019

Copy link
Copy Markdown
Author

This PR makes the Dockerfile actually build without error :)

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.

4 participants