Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Gentele committed Feb 6, 2020
1 parent 7c6fcf5 commit 8d39bdd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .dockerignore
@@ -0,0 +1 @@
**
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -4,8 +4,6 @@
# Created by devspace init
/.devspace/
/chart/
/Dockerfile
/.dockerignore

# Build files
*.exe
Expand Down
9 changes: 9 additions & 0 deletions Dockerfile
@@ -0,0 +1,9 @@
FROM alpine:3.11.3 as alpine

ARG RELEASE_VERSION=latest

RUN apk add curl tar
RUN curl -s -L "https://github.com/devspace-cloud/devspace/releases/$RELEASE_VERSION" | sed -nE 's!.*"([^"]*devspace-linux-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o /bin/devspace \
&& chmod +x /bin/devspace

ENTRYPOINT ["/bin/devspace"]
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@

[![DevSpace Intro](docs/website/static/img/readme/devspace-readme-intro.gif)](https://devspace.sh)

![DevSpace Intro](docs/website/static/img/readme/devspace-cluster-compatibility.png)
![DevSpace Compatibility](docs/website/static/img/readme/devspace-cluster-compatibility.png)

<br>

Expand Down

0 comments on commit 8d39bdd

Please sign in to comment.