mirror of
https://github.com/coder/coder.git
synced 2026-11-16 18:40:05 +08:00
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
18 lines
466 B
Docker
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"]
|