Skip to content

Commit

Permalink
Merge pull request #225 from glekner/dev-env-gh-auth
Browse files Browse the repository at this point in the history
copy gh authentication to dev container
  • Loading branch information
openshift-merge-robot committed Apr 6, 2022
2 parents 3e8a1a1 + e36c81c commit 14e0f08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ services:
network_mode: service:console
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
# Cache local workspace and copy shell history.
# Cache local workspace and copy shell history, gh auth.
volumes:
- ..:/workspace:cached
- ~/.bash_history:/root/.bash_history
- ~/.zsh_history:/root/.zsh_history
- ~/.config/gh/hosts.yml:/root/.config/gh/hosts.yml
volumes_from:
- x11-bridge:rw

Expand Down

0 comments on commit 14e0f08

Please sign in to comment.