Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Dockerfile configuration #56

Merged
merged 6 commits into from
Jun 13, 2019
Merged

Dockerfile configuration #56

merged 6 commits into from
Jun 13, 2019

Conversation

austinabell
Copy link
Contributor

@austinabell austinabell commented Jun 12, 2019

build with:

docker build -t dockergeth . --build-arg github_token="<github-auth-token>"

where <github-auth-token> is generated from https://github.com/settings/tokens/new

then run with:

docker run -p 4000:80 dockergeth

When going open source:

--build-arg github_token="<github-auth-token>" can be removed from the build command,

and

# Set up github credential for pulling private go module dependencies (remove section once public repo)
ARG github_token

 RUN git config --global url."https://$github_token:x-oauth-basic@github.com/".insteadOf "https://github.com/"
# End credential configuration section

can be removed from the Dockerfile

@austinabell austinabell marked this pull request as ready for review June 13, 2019 22:40
@austinabell austinabell requested a review from noot as a code owner June 13, 2019 22:40
@austinabell austinabell requested a review from GregTheGreek June 13, 2019 22:40
@ChainSafeSystems ChainSafeSystems merged commit cc14651 into development Jun 13, 2019
@soc1c soc1c deleted the austin/dockerfile branch June 14, 2019 07:33
dziabko pushed a commit that referenced this pull request Jun 20, 2019
* Added Dockerfile setup

* Added Dockerfile setup

* Fixed build command

* Removed private repo authentication in Dockerfile
dziabko pushed a commit that referenced this pull request Jun 20, 2019
* Added Dockerfile setup

* Added Dockerfile setup

* Fixed build command

* Removed private repo authentication in Dockerfile
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants