Files
coder/images/coder/Dockerfile
T
Bryan 6170421044 fix: Install terraform in Docker image to unblock deploy (#319)
Fixes #287 and re-enables our deploy at https://proto.cdr.dev

- Installs `terraform` in our `images/coder/Dockerfile`
- Re-enables our `deploy` GH action

Example of successful deploy run: https://github.com/coder/coder/runs/5241614008?check_suite_focus=true
2022-02-18 09:07:28 -08:00

18 lines
466 B
Docker

FROM registry.access.redhat.com/ubi8/ubi:latest
RUN yum install -y yum-utils
RUN yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
RUN yum install -y terraform
COPY coderd /coder/coderd
RUN chmod +x /coder/coderd
COPY run.sh /coder/run.sh
RUN chmod +x /coder/run.sh
# Once `provisionerd` is available, we'll also need that binary
# COPY bin/provisionerd /provisionerd
# RUN chmod +x /provisionerd
ENTRYPOINT ["/coder/run.sh"]