Skip to content

Commit

Permalink
Remove sudo and add to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonmeister committed Aug 28, 2024
1 parent 745a67d commit 082a74e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The following images are built from this repository:
- [Terraform workertools](#terraform-workertools) (`octopuslabs/terraform-workertools`)
- [HashiCorp Vault workertools](#vault-workertools) (`octopuslabs/vault-workertools`)
- [ArgoCD workertools](#argocd-workertools) (`octopuslabs/argocd-workertools`)
- [GitHub CLI workertools](#github-workertools) (`octopuslabs/github-workertools`)

### Base workertools

Expand Down Expand Up @@ -207,6 +208,25 @@ A new image is built each time a new version of ArgoCD CLI is detected. The vers

You can retrieve a list of all available tags on [DockerHub](https://hub.docker.com/repository/docker/octopuslabs/argocd-workertools/tags).


### GitHub CLI workertools

This image contains all the necessary tooling to run the [GitHub CLI](https://github.com/cli/cli) with Octopus Deploy:

- Git
- GitHub CLI

A new image is built each time a new version of the GitHub CLI is detected. The version numbers will be based on the version of the GitHub CLI.

> Note: No windows/amd64 platform support is provided for this image.
#### Tags

- `octopuslabs/github-workertools:latest`
- `octopuslabs/github-workertools:VERSION`

You can retrieve a list of all available tags on [DockerHub](https://hub.docker.com/repository/docker/octopuslabs/github-workertools/tags).

## Support

If you find a bug or encounter a problem with these images, please raise an [issue](https://github.com/OctopusDeployLabs/workertools/issues).
2 changes: 1 addition & 1 deletion github-cli/linux-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y git

# Install GitHub CLI
RUN mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& apt update \
Expand Down
2 changes: 1 addition & 1 deletion github-cli/linux-arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y git

# Install GitHub CLI
RUN mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& apt update \
Expand Down

0 comments on commit 082a74e

Please sign in to comment.