Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Remove Go and Rust (not needed for charted-dev/charted)
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu authored Mar 27, 2023
1 parent 1420de3 commit c927256
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,11 @@ RUN apt update && apt upgrade -y && apt install -y postgresql-client redis-tools
# go back to noel user
USER ${USERNAME}

# Add the Go toolchain here so we can develop the ClickHouse Migrations code
COPY --from=ghcr.io/auguwu/coder-images/golang /opt/golang/tools/golangci /opt/golang/tools/golangci
COPY --from=ghcr.io/auguwu/coder-images/golang /opt/golang/go /opt/golang/go

# Add the Rust toochain so we can develop the Helm Plugin
COPY --from=ghcr.io/auguwu/coder-images/rust --chown=${USERNAME}:${USERNAME} /home/${USERNAME}/.rustup /home/${USERNAME}/.rustup
COPY --from=ghcr.io/auguwu/coder-images/rust --chown=${USERNAME}:${USERNAME} /home/${USERNAME}/.cargo /home/${USERNAME}/.cargo

# node
# Node.js
COPY --from=ghcr.io/auguwu/coder-images/node /opt/nodejs /opt/nodejs

# Go back to the user
USER ${USERNAME}

ENV LANG="en-US.UTF-8"
ENV PATH=$PATH:/opt/golang/go/bin:/opt/golang/tools/golangci:/opt/nodejs/bin:/home/${USERNAME}/.cargo/bin
ENV PATH=$PATH:/opt/nodejs/bin

0 comments on commit c927256

Please sign in to comment.