Skip to content

Commit

Permalink
chore(Dockerfile): remove legacy alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien committed Jul 19, 2024
1 parent c857db7 commit 3350e4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG GOTENBERG_VERSION

FROM golang:$GOLANG_VERSION AS builder

ENV CGO_ENABLED 0
ENV CGO_ENABLED=0

# Define the working directory outside of $GOPATH (we're using go modules).
WORKDIR /home
Expand Down
8 changes: 4 additions & 4 deletions test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG APP_NAME
ARG APP_VERSION
ARG GOLANGCI_LINT_VERSION

FROM golang:$GOLANG_VERSION-bullseye as golang
FROM golang:$GOLANG_VERSION-bullseye AS golang

# We're extending the Gotenberg's Docker image because our code relies on external
# dependencies like Google Chrome, LibreOffice, etc.
Expand All @@ -19,9 +19,9 @@ COPY ./test/golint.sh /usr/bin/golint
COPY ./test/gotest.sh /usr/bin/gotest
COPY ./test/gotodos.sh /usr/bin/gotodos

ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
ENV CGO_ENABLED 1
ENV GOPATH=/go
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
ENV CGO_ENABLED=1

RUN apt-get update -qq &&\
apt-get install -y -qq --no-install-recommends \
Expand Down

0 comments on commit 3350e4d

Please sign in to comment.