Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ARG TARGETARCH
ARG DEBIAN_FRONTEND=noninteractive
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1

Check warning on line 5 in 8.1/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.1/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 5 in 8.1/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.1/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

# Prevent services autoload (http://jpetazzo.github.io/2013/10/06/policy-rc-d-do-not-start-services-automatically/)
RUN set -xe; \
Expand Down Expand Up @@ -161,12 +161,12 @@
DRUSH_VERSION=8.4.12 \
DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
WPCLI_VERSION=2.12.0 \
PLATFORMSH_CLI_VERSION=5.0.23 \
PLATFORMSH_CLI_VERSION=5.6.0 \
ACQUIA_CLI_VERSION=2.49.0 \
# Pin Terminus 3.6.2 for PHP 8.1
TERMINUS_VERSION=3.6.2 \
JQ_VERSION=1.8.1 \
YQ_VERSION=4.47.2
YQ_VERSION=4.48.1
RUN set -xe; \
# Composer 1.x
curl -fsSL "https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar" -o /usr/local/bin/composer1; \
Expand Down Expand Up @@ -253,8 +253,8 @@

# Node.js (installed as user)
ENV \
NVM_VERSION=0.40.2 \
NODE_VERSION=22.14.0 \
NVM_VERSION=0.40.3 \
NODE_VERSION=22.20.0 \
# Yarn (Classic v1)
# https://github.com/yarnpkg/yarn/releases
YARN_VERSION=1.22.22
Expand Down Expand Up @@ -302,7 +302,7 @@
COPY config/php/opcache.ini /opt/docker-php-ext-opcache.ini
COPY config/php/zz-php-fpm.conf /usr/local/etc/php-fpm.d/zz-php-fpm.conf

ENV \

Check warning on line 305 in 8.1/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.1/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 305 in 8.1/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.1/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
# ssh-agent proxy socket (requires docksal/ssh-agent)
SSH_AUTH_SOCK=/.ssh-agent/proxy-socket \
# Set TERM so text editors/etc. can be used
Expand Down Expand Up @@ -345,9 +345,9 @@
ARG HOME=/home/docker

ENV \
CODE_SERVER_VERSION=4.99.3 \
VSCODE_GITLENS_VERSION=17.0.3 \
VSCODE_XDEBUG_VERSION=1.36.0 \
CODE_SERVER_VERSION=4.104.3 \
VSCODE_GITLENS_VERSION=17.6.1 \
VSCODE_XDEBUG_VERSION=1.37.0 \
VSCODE_HOME="${HOME}/code-server"

# Install code-server
Expand Down
14 changes: 7 additions & 7 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ARG TARGETARCH
ARG DEBIAN_FRONTEND=noninteractive
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1

Check warning on line 5 in 8.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.2/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 5 in 8.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.2/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

# Prevent services autoload (http://jpetazzo.github.io/2013/10/06/policy-rc-d-do-not-start-services-automatically/)
RUN set -xe; \
Expand Down Expand Up @@ -162,11 +162,11 @@
DRUSH_VERSION=8.4.12 \
DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
WPCLI_VERSION=2.12.0 \
PLATFORMSH_CLI_VERSION=5.0.23 \
PLATFORMSH_CLI_VERSION=5.6.0 \
ACQUIA_CLI_VERSION=2.49.0 \
TERMINUS_VERSION=4.1.0 \
JQ_VERSION=1.8.1 \
YQ_VERSION=4.47.2
YQ_VERSION=4.48.1
RUN set -xe; \
# Composer 1.x
curl -fsSL "https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar" -o /usr/local/bin/composer1; \
Expand Down Expand Up @@ -253,8 +253,8 @@

# Node.js (installed as user)
ENV \
NVM_VERSION=0.40.2 \
NODE_VERSION=22.14.0 \
NVM_VERSION=0.40.3 \
NODE_VERSION=22.20.0 \
# Yarn (Classic v1)
# https://github.com/yarnpkg/yarn/releases
YARN_VERSION=1.22.22
Expand Down Expand Up @@ -302,7 +302,7 @@
COPY config/php/opcache.ini /opt/docker-php-ext-opcache.ini
COPY config/php/zz-php-fpm.conf /usr/local/etc/php-fpm.d/zz-php-fpm.conf

ENV \

Check warning on line 305 in 8.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.2/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 305 in 8.2/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.2/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
# ssh-agent proxy socket (requires docksal/ssh-agent)
SSH_AUTH_SOCK=/.ssh-agent/proxy-socket \
# Set TERM so text editors/etc. can be used
Expand Down Expand Up @@ -345,9 +345,9 @@
ARG HOME=/home/docker

ENV \
CODE_SERVER_VERSION=4.99.3 \
VSCODE_GITLENS_VERSION=17.0.3 \
VSCODE_XDEBUG_VERSION=1.36.0 \
CODE_SERVER_VERSION=4.104.3 \
VSCODE_GITLENS_VERSION=17.6.1 \
VSCODE_XDEBUG_VERSION=1.37.0 \
VSCODE_HOME="${HOME}/code-server"

# Install code-server
Expand Down
14 changes: 7 additions & 7 deletions 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ARG TARGETARCH
ARG DEBIAN_FRONTEND=noninteractive
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1

Check warning on line 5 in 8.3/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.3/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 5 in 8.3/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.3/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

# Prevent services autoload (http://jpetazzo.github.io/2013/10/06/policy-rc-d-do-not-start-services-automatically/)
RUN set -xe; \
Expand Down Expand Up @@ -162,11 +162,11 @@
DRUSH_VERSION=8.4.12 \
DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
WPCLI_VERSION=2.12.0 \
PLATFORMSH_CLI_VERSION=5.0.23 \
PLATFORMSH_CLI_VERSION=5.6.0 \
ACQUIA_CLI_VERSION=2.49.0 \
TERMINUS_VERSION=4.1.0 \
JQ_VERSION=1.8.1 \
YQ_VERSION=4.47.2
YQ_VERSION=4.48.1
RUN set -xe; \
# Composer 1.x
curl -fsSL "https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar" -o /usr/local/bin/composer1; \
Expand Down Expand Up @@ -253,8 +253,8 @@

# Node.js (installed as user)
ENV \
NVM_VERSION=0.40.2 \
NODE_VERSION=22.14.0 \
NVM_VERSION=0.40.3 \
NODE_VERSION=22.20.0 \
# Yarn (Classic v1)
# https://github.com/yarnpkg/yarn/releases
YARN_VERSION=1.22.22
Expand Down Expand Up @@ -302,7 +302,7 @@
COPY config/php/opcache.ini /opt/docker-php-ext-opcache.ini
COPY config/php/zz-php-fpm.conf /usr/local/etc/php-fpm.d/zz-php-fpm.conf

ENV \

Check warning on line 305 in 8.3/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.3/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 305 in 8.3/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.3/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
# ssh-agent proxy socket (requires docksal/ssh-agent)
SSH_AUTH_SOCK=/.ssh-agent/proxy-socket \
# Set TERM so text editors/etc. can be used
Expand Down Expand Up @@ -345,9 +345,9 @@
ARG HOME=/home/docker

ENV \
CODE_SERVER_VERSION=4.99.3 \
VSCODE_GITLENS_VERSION=17.0.3 \
VSCODE_XDEBUG_VERSION=1.36.0 \
CODE_SERVER_VERSION=4.104.3 \
VSCODE_GITLENS_VERSION=17.6.1 \
VSCODE_XDEBUG_VERSION=1.37.0 \
VSCODE_HOME="${HOME}/code-server"

# Install code-server
Expand Down
14 changes: 7 additions & 7 deletions 8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ARG TARGETARCH
ARG DEBIAN_FRONTEND=noninteractive
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1

Check warning on line 5 in 8.4/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.4/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 5 in 8.4/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.4/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

# Prevent services autoload (http://jpetazzo.github.io/2013/10/06/policy-rc-d-do-not-start-services-automatically/)
RUN set -xe; \
Expand Down Expand Up @@ -162,11 +162,11 @@
DRUSH_VERSION=8.4.12 \
DRUPAL_CONSOLE_LAUNCHER_VERSION=1.9.7 \
WPCLI_VERSION=2.12.0 \
PLATFORMSH_CLI_VERSION=5.0.23 \
PLATFORMSH_CLI_VERSION=5.6.0 \
ACQUIA_CLI_VERSION=2.49.0 \
TERMINUS_VERSION=4.1.0 \
JQ_VERSION=1.8.1 \
YQ_VERSION=4.47.2
YQ_VERSION=4.48.1
RUN set -xe; \
# Composer 1.x
curl -fsSL "https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar" -o /usr/local/bin/composer1; \
Expand Down Expand Up @@ -253,8 +253,8 @@

# Node.js (installed as user)
ENV \
NVM_VERSION=0.40.2 \
NODE_VERSION=22.14.0 \
NVM_VERSION=0.40.3 \
NODE_VERSION=22.20.0 \
# Yarn (Classic v1)
# https://github.com/yarnpkg/yarn/releases
YARN_VERSION=1.22.22
Expand Down Expand Up @@ -302,7 +302,7 @@
COPY config/php/opcache.ini /opt/docker-php-ext-opcache.ini
COPY config/php/zz-php-fpm.conf /usr/local/etc/php-fpm.d/zz-php-fpm.conf

ENV \

Check warning on line 305 in 8.4/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.4/arm64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 305 in 8.4/Dockerfile

View workflow job for this annotation

GitHub Actions / Build: 8.4/amd64

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SSH_AUTH_SOCK") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
# ssh-agent proxy socket (requires docksal/ssh-agent)
SSH_AUTH_SOCK=/.ssh-agent/proxy-socket \
# Set TERM so text editors/etc. can be used
Expand Down Expand Up @@ -345,9 +345,9 @@
ARG HOME=/home/docker

ENV \
CODE_SERVER_VERSION=4.99.3 \
VSCODE_GITLENS_VERSION=17.0.3 \
VSCODE_XDEBUG_VERSION=1.36.0 \
CODE_SERVER_VERSION=4.104.3 \
VSCODE_GITLENS_VERSION=17.6.1 \
VSCODE_XDEBUG_VERSION=1.37.0 \
VSCODE_HOME="${HOME}/code-server"

# Install code-server
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cli
## NodeJS

- nvm
- node v22.14.0 LTS (following NodeJS LTS release cycle)
- node v22.20.0 LTS (following NodeJS LTS release cycle)
- yarn (classic v1)

NodeJS is installed via `nvm` in the `docker` user's profile inside the image (`/home/docker/.nvm`).
Expand Down
55 changes: 27 additions & 28 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ _healthcheck_wait ()

# Check all binaries in a single shot
run make exec -e CMD="type $(echo ${binaries} | xargs)"
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

### Cleanup ###
Expand Down Expand Up @@ -192,44 +192,43 @@ _healthcheck_wait ()
### Tests ###

# Check Composer v1 version (legacy)
run docker exec -u docker "$NAME" bash -lc 'set -x; composer1 --version | grep "^Composer version ${COMPOSER_VERSION} "'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; composer1 --version | grep "${COMPOSER_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Composer v2 version (default)
run docker exec -u docker "$NAME" bash -lc 'set -x; composer --version | grep "^Composer version ${COMPOSER2_VERSION} "'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; composer --version | grep "${COMPOSER2_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Drush 8 version (legacy)
run docker exec -u docker "$NAME" bash -lc 'set -x; drush8 --version | grep "^ Drush Version : ${DRUSH_VERSION} $"'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; drush8 --version | grep "${DRUSH_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Drupal Console version
run docker exec -u docker "$NAME" bash -lc 'set -x; drupal --version | grep "^Drupal Console Launcher ${DRUPAL_CONSOLE_LAUNCHER_VERSION}$"'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; drupal --version | grep "${DRUPAL_CONSOLE_LAUNCHER_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Wordpress CLI version
run docker exec -u docker "$NAME" bash -lc 'set -x; wp --version | grep "^WP-CLI ${WPCLI_VERSION}$"'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; wp --version | grep "${WPCLI_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Terminus version
# --no-ansi is used to strip color codes from the output, otherwise the grep will fail
run docker exec -u docker "$NAME" bash -lc 'set -x; terminus --no-ansi --version | grep "^Terminus ${TERMINUS_VERSION}$"'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; terminus --version | grep "${TERMINUS_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Platform CLI version
run docker exec -u docker "$NAME" bash -lc 'set -x; platform --version | grep "Platform.sh CLI ${PLATFORMSH_CLI_VERSION}"'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; platform --version | grep "${PLATFORMSH_CLI_VERSION}"'
[ "$status" -eq 0 ]
unset output

# Check Acquia CLI version
run docker exec -u docker "$NAME" bash -lc 'set -x; acli --version | grep "^Acquia CLI ${ACQUIA_CLI_VERSION}"'
[[ ${status} == 0 ]]
run docker exec -u docker "$NAME" bash -lc 'set -x; acli --version | grep "${ACQUIA_CLI_VERSION}"'
[ "$status" -eq 0 ]
unset output

### Cleanup ###
Expand All @@ -249,27 +248,27 @@ _healthcheck_wait ()

# nvm
run docker exec -u docker "$NAME" bash -lc 'nvm --version | grep "${NVM_VERSION}"'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

# nodejs
run docker exec -u docker "$NAME" bash -lc 'node --version | grep "${NODE_VERSION}"'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

# yarn
run docker exec -u docker "$NAME" bash -lc 'yarn --version | grep "${YARN_VERSION}"'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

# Stock Ruby version in Debian 12 is 3.1.x
run docker exec -u docker "$NAME" bash -lc 'ruby --version | grep "ruby 3.1"'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

# Stock Python version in Debian 12 is 3.11.x
run docker exec -u docker "$NAME" bash -lc 'python3 --version 2>&1 | grep "Python 3.11"'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

# Check msmtp
Expand Down Expand Up @@ -304,7 +303,7 @@ _healthcheck_wait ()
unset output
# TODO: figure out how to properly use 'make exec' here (escape quotes)
run docker exec -u docker "${NAME}" bash -lc 'echo "${SECRET_SSH_PRIVATE_KEY}" | base64 -d | diff ${HOME}/.ssh/id_rsa -'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
unset output

### Cleanup ###
Expand All @@ -327,7 +326,7 @@ _healthcheck_wait ()
sleep 2

run docker exec -u docker "${NAME}" cat /tmp/test-startup.txt
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
[[ "${output}" =~ "I ran properly" ]]

### Cleanup ###
Expand Down Expand Up @@ -360,7 +359,7 @@ _healthcheck_wait ()

# Confirm authentication works
run docker exec -u docker "${NAME}" bash -lc 'platform auth:info --no-interaction'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
[[ ! "${output}" =~ "Invalid API token" ]]
[[ "${output}" =~ "developer@docksal.io" ]]
unset output
Expand Down Expand Up @@ -404,15 +403,15 @@ _healthcheck_wait ()

# Confirm we are logged in with the expected user
run docker exec -u docker "${NAME}" bash -lc 'terminus site:list'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
[[ ! "${output}" =~ "You are not logged in." ]]
unset output

# Confirm we are logged in with the expected user
# terminus auth:whoami is finicky/buggy and needs another command to run to create a session first.
# See https://github.com/docksal/service-cli/issues/258
run docker exec -u docker "${NAME}" bash -lc 'terminus auth:whoami'
[[ ${status} == 0 ]]
[ "$status" -eq 0 ]
[[ ! "${output}" =~ "You are not logged in." ]]
[[ "${output}" =~ "developer@docksal.io" ]]
unset output
Expand Down
Loading