forked from cesanta/docker_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
### Building local image | ||
|
||
``` | ||
git clone https://github.com/cesanta/docker_auth.git | ||
cd docker_auth/auth_server | ||
# copy ca certificate to /etc/ssl/certs/ca-certificates.crt | ||
pip install gitpython | ||
mkdir /var/tmp/go | ||
mkdir -p /var/tmp/go/src/github.com/cesanta | ||
cd /var/tmp/go/src/github.com/cesanta | ||
git clone https://github.com/cesanta/docker_auth.git | ||
cd docker_auth/auth_server | ||
export GOPATH=/var/tmp/go | ||
export PATH=$PATH:$GOPATH/bin | ||
# download dependencies | ||
make deps | ||
# build source | ||
make generate | ||
make | ||
``` |