isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

feat(dockerfile): migrate fetching keys to script too #1070

Closed seaerchin closed 10 months ago

seaerchin commented 10 months ago

Problem

Previously we were including the ssh parameters at build time. now, we change it so that it is injected via env vars at run time.

Solution

New env vars

- ENV_TYPE=DEV
- DEV_SSH_PUBLIC_KEY=<take_from_your_own_ssh_config>
- DEV_SSH_PRIVATE_KEY=<take_from_your_own_ssh_config>
seaerchin commented 10 months ago

Merge activity