Skip to content

Commit

Permalink
docs: Remove operator-sdk dependencies and installdeps script (#613)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashok Pon Kumar <[email protected]>
  • Loading branch information
ashokponkumar authored Oct 29, 2021
1 parent 3e9dceb commit 8d9ab47
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 182 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ RUN cp bin/move2kube /bin/move2kube

### Run image ###
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
RUN curl -o /usr/local/bin/operator-sdk -LJO 'https://github.com/operator-framework/operator-sdk/releases/download/v1.9.0/operator-sdk_linux_amd64' \
&& chmod +x /usr/local/bin/operator-sdk
COPY --from=builder /bin/move2kube /bin/move2kube
VOLUME ["/workspace"]
#"/var/run/docker.sock" needs to be mounted for CNB containerization to use docker
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ get: go.mod
generate:
go generate ${PKG}

.PHONY: deps
deps:
source scripts/installdeps.sh

# -- Test --

.PHONY: test
Expand Down Expand Up @@ -166,7 +162,7 @@ else
@echo 'Linux: sudo apt-get install upx'
endif
mkdir -p $(DISTDIR)/files
cp -r ./LICENSE ./scripts/installdeps.sh ./USAGE.md ./samples $(DISTDIR)/files/
cp -r ./LICENSE ./USAGE.md ./samples $(DISTDIR)/files/
cd $(DISTDIR) && go run ../scripts/dist/builddist.go -b $(BINNAME) -v $(VERSION)

.PHONY: clean
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ To browse code [![Open in VSCode](https://open.vscode.dev/badges/open-in-vscode.
* Helm charts
* Kustomize
* OpenShift Templates
* Operator
* Docker compose

## Discussion
Expand Down
1 change: 0 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Move2Kube is a command-line tool that accelerates the process of re-platforming
## Setup

1. Ensure that the move2kube executable is in path. `export PATH=$PATH:$PWD`
1. (Optional) To install dependencies such as `pack`, `kubectl` and `operator-sdk`, invoke `source installdeps.sh`.

## Usage

Expand Down
173 changes: 0 additions & 173 deletions scripts/installdeps.sh

This file was deleted.

0 comments on commit 8d9ab47

Please sign in to comment.