Skip to content

Commit

Permalink
remove dep install
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdashuaihenshuai committed Mar 28, 2024
1 parent 615bf5e commit 034721e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ RUN go build -ldflags "-linkmode external -extldflags -static" -o main .

FROM debian:bullseye-slim
WORKDIR /app
RUN apt-get install gcc libc6-dev
COPY --from=backend /app/main /app/main
CMD ["/app/main"]
5 changes: 0 additions & 5 deletions backend/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ BuildRelease() {
}


InstallDep() {
apt install gcc musl-dev
}

MakeRelease() {
cd build
mkdir compress
Expand Down Expand Up @@ -204,7 +200,6 @@ Clean() {
}

Clean
InstallDep
BuildRelease
MakeRelease
GenerateMainPackageJson

0 comments on commit 034721e

Please sign in to comment.