Skip to content

Commit

Permalink
fix: Fix security vulnerabilities and update dependencies (#589)
Browse files Browse the repository at this point in the history
* update github.com/docker/docker

* update github.com/go-git/go-git/v5

* use gitlab.com/gitlab-org/api/client-go instead of the deprecated predecessor

* go mod tidy

* use dario.cat/mergo

* update dependencies and remove replace block from go.mod

* update dependencies

* setup go in ci

* go mod tidy

* bump go in dockerfile

* lint

* goimports
  • Loading branch information
maciaszczykm authored Jan 7, 2025
1 parent fa9c3fd commit 6fb0b04
Show file tree
Hide file tree
Showing 5 changed files with 575 additions and 651 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:22.10 AS user
# Create a nonroot user for final image
RUN useradd -u 10001 nonroot

FROM golang:1.22-alpine3.19 AS builder
FROM golang:1.23-alpine3.19 AS builder

WORKDIR /workspace

Expand Down Expand Up @@ -31,7 +31,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} \
-X "github.com/pluralsh/plural-cli/pkg/common.Date=${APP_DATE}"' \
-o plural ./cmd/plural

FROM golang:1.23.3-alpine3.20 AS final
FROM golang:1.23.4-alpine3.20 AS final

WORKDIR /

Expand Down
Loading

0 comments on commit 6fb0b04

Please sign in to comment.