Skip to content

Initial Setup #1

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

Merged
merged 12 commits into from
Sep 8, 2017
Merged

Initial Setup #1

merged 12 commits into from
Sep 8, 2017

Conversation

filipesperandio
Copy link
Contributor

  • Script to install latest PMD bins
  • Smaller image
  • README
  • Remove unecessary files

Dockerfile Outdated
COPY ./bin /usr/src/app/bin
RUN /usr/src/app/bin/install-pmd.sh

RUN adduser -u 9000 -D app
Copy link

Choose a reason for hiding this comment

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

Can we run this above the COPY line 11 so that it caches better?

Additionally, do you need to chown /usr/src/app?

cd ${LIB_DIR}

install_pmd
cleanup
Copy link

Choose a reason for hiding this comment

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

This all seems like it's begging to be a Makefile WDYT?

Copy link
Contributor Author

@filipesperandio filipesperandio Sep 7, 2017

Choose a reason for hiding this comment

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

@gordondiggs Don't think so. It is only meant to run building the image. I could have all this in the Dockerfile itself but looks ugly.

--env GCR_JSON_KEY
--volume /var/run/docker.sock:/var/run/docker.sock
codeclimate/patrick pull || true
- make image
Copy link

Choose a reason for hiding this comment

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

These make commands seem valid but you haven't written them yet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refresh?

Language can be autodetected and the specified language version was just
wrong. It was inheriting a version previously set for `apex`, not `java`.
--env CIRCLE_TOKEN
--env GCR_JSON_KEY
--volume /var/run/docker.sock:/var/run/docker.sock
codeclimate/patrick pull || true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gordondiggs Will was suggesting skip patrick and pull/push directly to docker hub. I will do so in a new PR.

@filipesperandio filipesperandio merged commit afd104b into master Sep 8, 2017
@filipesperandio filipesperandio deleted the fe/initial_setup branch September 8, 2017 17:59
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