Skip to content

Commit

Permalink
fix: Install terraform in Docker image to unblock deploy (#319)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bryphe-coder committed Feb 18, 2022
1 parent 6bdef06 commit 6170421
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/coder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,7 @@ jobs:
deploy:
name: "deploy"
runs-on: ubuntu-latest
# Temporarily disable the 'deploy' job until issue is fixed:
# https://github.com/coder/coder/issues/287
# As a part of a fix for that, uncomment the below line
# and delete the 'if' after:
# if: github.event_name != 'pull_request'
if: false
if: github.event_name != 'pull_request'
permissions:
contents: read
id-token: write
Expand Down
4 changes: 4 additions & 0 deletions images/coder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
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

Expand Down

0 comments on commit 6170421

Please sign in to comment.