Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
fix symlink and dockerfile entrypoint (#221)
Browse files Browse the repository at this point in the history
Fixes an issue where the dockerfile couldn't find the `storageos` binary
  • Loading branch information
Mojachieee authored Jan 19, 2023
1 parent 2fc5de7 commit 5cf2c49
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN SEMANTIC_VERSION=$semantic_version make build

RUN mkdir -p /root/.cache/storageos

# The storageos binary must be in the PATH for the examples in the docs to work.
RUN ln -s bin/storageos /usr/local/bin/storageos
ENTRYPOINT ["/storageos"]
# The storageos binary must be in the PATH for the examples in the docs to work,
# as kubectl exec overrides the entrypoint
RUN ln -s /go/src/github.com/storageos/go-cli/bin/storageos /usr/local/bin/storageos
ENTRYPOINT ["storageos"]

0 comments on commit 5cf2c49

Please sign in to comment.