File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,8 +36,22 @@ RUN echo 'xdebug.log_level = 0' >> /usr/local/etc/php/conf.d/xdebug.ini
3636RUN sed -i 's/Listen\s *80$/# Listen 80/' /etc/apache2/ports.conf
3737
3838# Install terminus
39- RUN curl -L https://github.com/pantheon-systems/terminus/releases/latest/download/terminus.phar --output /usr/local/bin/terminus
40- RUN chmod +x /usr/local/bin/terminus
39+ RUN curl -L https://github.com/pantheon-systems/terminus/releases/latest/download/terminus.phar --output /usr/local/bin/terminus \
40+ && chmod +x /usr/local/bin/terminus \
41+ && terminus self:plugin:install terminus-secrets-manager-plugin
42+
43+ # Install 1password-cli, see https://developer.1password.com/docs/cli/get-started/
44+ RUN curl -sS https://downloads.1password.com/linux/keys/1password.asc \
45+ | gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg \
46+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" \
47+ | tee /etc/apt/sources.list.d/1password.list \
48+ && mkdir -p /etc/debsig/policies/AC2D62742012EA22/ \
49+ && curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol \
50+ | tee /etc/debsig/policies/AC2D62742012EA22/1password.pol \
51+ && mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22 \
52+ && curl -sS https://downloads.1password.com/linux/keys/1password.asc \
53+ | gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg \
54+ && apt update && apt install 1password-cli
4155
4256# Install atuin
4357#
You can’t perform that action at this time.
0 commit comments