Skip to content

Commit

Permalink
fix(cd): more dockerfile updates
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Oct 26, 2023
1 parent 236bbf3 commit 6205b66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cd/manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.3-buster as builder
FROM golang:1.20.5-buster as builder

# Install deps
RUN apt-get update && apt-get install -y \
Expand All @@ -9,9 +9,9 @@ RUN apt-get update && apt-get install -y \
ENV SRC_DIR /cd-manager

# Download packages first so they can be cached.
COPY go.mod go.sum $SRC_DIR/
COPY common/aws/utils/go.mod common/aws/utils/go.sum $SRC_DIR/common/aws/utils/
COPY common/job/go.mod common/job/go.sum $SRC_DIR/common/job/
COPY go.mod go.sum $SRC_DIR/
RUN cd $SRC_DIR && go mod download

COPY . $SRC_DIR
Expand Down
2 changes: 1 addition & 1 deletion cd/manager/common/aws/utils/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/3box/pipeline-tools/cd/manager/common/aws/utils

go 1.19
go 1.20

require (
github.com/aws/aws-sdk-go-v2 v1.21.2
Expand Down
2 changes: 1 addition & 1 deletion cd/manager/common/job/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/3box/pipeline-tools/cd/manager/common/job

go 1.19
go 1.20

replace github.com/3box/pipeline-tools/cd/manager/common/aws/utils v0.0.0 => ../aws/utils

Expand Down
6 changes: 3 additions & 3 deletions cd/manager/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/3box/pipeline-tools/cd/manager

go 1.18
go 1.20

replace github.com/3box/pipeline-tools/cd/manager/common/aws/utils v0.0.0 => ../manager/common/aws/utils
replace github.com/3box/pipeline-tools/cd/manager/common/aws/utils v0.0.0 => ./common/aws/utils

replace github.com/3box/pipeline-tools/cd/manager/common/job v0.0.0 => ../manager/common/job
replace github.com/3box/pipeline-tools/cd/manager/common/job v0.0.0 => ./common/job

require (
github.com/3box/pipeline-tools/cd/manager/common/aws/utils v0.0.0
Expand Down

0 comments on commit 6205b66

Please sign in to comment.