Skip to content

Commit

Permalink
fix: same-line run command
Browse files Browse the repository at this point in the history
  • Loading branch information
vLia committed Jun 1, 2023
1 parent fb697ec commit 5f34248
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .builds-linux.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
# Setup to enable Docker to use, e.g., the GitHub actions cache; see
# https://docs.docker.com/build/building/cache/backends/
# https://github.com/moby/buildkit#export-cache
- DOCKER_BUILDX_CACHE_FROM={{ if index .Env "DOCKER_BUILDX_CACHE_FROM" }}{{ .Env.DOCKER_BUILDX_CACHE_FROM }}{{ else }}type=inline{{ end }}
- DOCKER_BUILDX_CACHE_FROM={{ if index .Env "DOCKER_BUILDX_CACHE_FROM" }}{{ .Env.DOCKER_BUILDX_CACHE_FROM }}{{ else }}type=registry,ref=docker.io/kubeshop/testkube-cli:latest{{ end }}
- DOCKER_BUILDX_CACHE_TO={{ if index .Env "DOCKER_BUILDX_CACHE_TO" }}{{ .Env.DOCKER_BUILDX_CACHE_TO }}{{ else }}type=inline{{ end }}
- ALPINE_IMAGE=alpine:3.18.0

Expand Down
3 changes: 1 addition & 2 deletions build/kubectl-testkube/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
ARG ALPINE_IMAGE
FROM ${ALPINE_IMAGE}
COPY kubectl-testkube /bin/kubectl-testkube
RUN mkdir .testkube && echo "{}" > .testkube/config.json \
&& chmod -R 755 .testkube
RUN mkdir .testkube && echo "{}" > .testkube/config.json && chmod -R 755 .testkube
USER 1001
ENTRYPOINT ["/bin/kubectl-testkube"]

0 comments on commit 5f34248

Please sign in to comment.