Skip to content

Commit

Permalink
docker entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
cjimti committed Aug 10, 2018
1 parent ab8771b commit e872768
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY kubefwd /

WORKDIR /

CMD ["/kubefwd"]
ENTRYPOINT ["/kubefwd"]
7 changes: 0 additions & 7 deletions Makefile

This file was deleted.

19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ When working on our local workstation, my team and I often build applications th

Tested directly on **macOS** and **linux** based docker containers.

## Install / Update
## MacOs Install / Update

**kubefwd** assumes you have **kubectl** installed and configured with access to a Kubernetes cluster. **kubefwd** uses the **kubectl** current context. The **kubectl** configuration is not used, however it's configuration is needed to access a Kubernetes cluster.

Expand All @@ -30,7 +30,20 @@ To upgrade:
brew upgrade kubefwd
```

Check out the [releases](https://github.com/txn2/kubefwd/releases) section on Github for alternative binaries or [Fork kubefwd](https://github.com/txn2/kubefwd) and build your own version. I welcome any useful pull requests.
## Docker

```
docker run -it --rm --privileged \
-v "$(echo $HOME)/.kube/":/root/.kube/ \
txn2/kubefwd ./kubefwd services -n the-project
```


## Alternative Installs (tar.gz, RPM, deb, snap)
Check out the [releases](https://github.com/txn2/kubefwd/releases) section on Github for alternative binaries.

## Contribute
[Fork kubefwd](https://github.com/txn2/kubefwd) and build your own version. We welcome any useful pull requests.

## Usage

Expand Down Expand Up @@ -93,8 +106,6 @@ docker run -it --rm --privileged \
go run ./cmd/kubefwd/kubefwd.go
```
### Build Release
Build test release:
Expand Down

0 comments on commit e872768

Please sign in to comment.