Sign inSign up

wunderio/drupal-shell

By wunderio

•Updated about 4 years ago

Moved to https://hub.docker.com/r/wunderio/silta-php-shell

Image
0

50K+

wunderio/drupal-shell repository overview

⁠Image builds have been moved to https://github.com/wunderio/silta-images⁠


⁠About project

This is a custom container that will authorize users based on their SSH private key. The key whitelist is provided by SSH public keys for silta⁠ project.

Fingerprint keys are moved to a dedicated folder, /etc/ssh/keys, that can be mounted to a persistent storage.

⁠Configuration

Provide following environment variables for the container:

  • GITAUTH_URL: Endpoint providing ssh key list. f.ex. https://example.com/api/1/git-ssh-keys⁠
  • GITAUTH_SCOPE: Scope you want to use for authorisation. f.ex. https://github.com/organisation or [email protected]:organisation/reponame.git for getting public keys of all reponame repository collaborators.
  • GITAUTH_USERNAME: Key server credentials
  • GITAUTH_PASSWORD: Key server credentials
  • OUTSIDE_COLLABORATORS: Include outside collaborators f.ex. "true".

⁠Running

Build and run the docker image:

docker image build -t ssh-server .
docker run -p 2222:22 --env-file ./env.list -d ssh-server

Connect to ssh server

ssh www-admin@localhost -p 2222

Tag summary

Content type

Image

Digest

sha256:1002674f4…

Size

119.6 MB

Last updated

about 4 years ago

docker pull wunderio/drupal-shell:php7.2-v0.1.0