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

Improve Dockerfile #1863

Merged
merged 4 commits into from
Aug 23, 2018
Merged

Improve Dockerfile #1863

merged 4 commits into from
Aug 23, 2018

Conversation

PeterDaveHello
Copy link
Collaborator

No description provided.

@PeterDaveHello PeterDaveHello changed the title Improve dockerfile Improve Dockerfile Jul 12, 2018
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Are there any more docker-related changes you plan to make?

.travis.yml Outdated
- '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y'
script:
- if [ -n "${MAKE_RELEASE-}" ]; then export GIT_EDITOR="sed -i '1 s/^/99.99.99 make release test/'" && git fetch --unshallow --tags && echo proceed | make TAG=99.99.99 release ; fi
- if [ -n "${DOCTOCCHECK-}" ]; then cp README.md README.md.orig && npm run doctoc && diff -q README.md README.md.orig ; fi
- if [ -n "${ECLINT-}" ]; then npm run eclint ; fi
- if [ -n "${DOCKERFILE_LINT-}" ]; then npx dockerfile_lint ; fi
Copy link
Member

Choose a reason for hiding this comment

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

npx should not be used in scripts; if we want to depend on something, it should be a dependency. since this is a dependency, we should set up an npm run-script.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Okay, updated.

@PeterDaveHello
Copy link
Collaborator Author

No more, as test integrated now.

@PeterDaveHello
Copy link
Collaborator Author

@ljharb anything else I need to do here? Thanks.

@ljharb ljharb merged commit 96ebed3 into nvm-sh:master Aug 23, 2018
@PeterDaveHello PeterDaveHello deleted the ImproveDockerfile branch August 23, 2018 16:20
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