From 1b394f3ca17a0ce7a882b4893498001ae3992973 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 30 Mar 2024 14:00:37 -0400 Subject: [PATCH] chore: remove usage of buf and rust in docker image --- Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d6c7db..e901297 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -# Use the bufbuild/buf image for extracting the buf command binary -FROM bufbuild/buf:latest as buf # Use the official Node.js image as the base image for building the api/account/portal FROM node:20-alpine as nodejs-builder @@ -28,18 +26,10 @@ RUN apk add --no-cache git && git clone --recurse-submodules https://git.lumeweb # Copy the built dashboard from the nodejs-builder stage COPY --from=nodejs-builder /portal/api/account/app/build/client /portal/api/account/app/build/client -# Copy buf from the buf stage -COPY --from=buf /usr/local/bin/buf /usr/local/bin/buf # Install the necessary dependencies RUN apk add bash gcc curl musl-dev -# Install the necessary dependencies -RUN curl -sSf https://sh.rustup.rs | bash -s -- -y - -# Set the necessary environment variables -ENV PATH="/root/.cargo/bin:${PATH}" - ## Build the Go application RUN go mod download