Skip to content

Commit

Permalink
Bump Go version to 1.20
Browse files Browse the repository at this point in the history
Bump Go to `1.20`.

Bump dependencies.
  • Loading branch information
HeavyWombat committed Sep 6, 2023
1 parent 4acff1e commit 4a8efac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

FROM golang:1.19 as bootstrap
FROM golang:1.20 as bootstrap
WORKDIR /go/src/github.com/homeport/duct-tape-resource
COPY . .

Expand All @@ -28,10 +28,10 @@ ENV GOARCH amd64
RUN --mount=type=cache,target=/root/.cache/go-build \
mkdir -p /tmp/dist/opt/resource && \
go build \
-trimpath \
-ldflags "-s -w -extldflags '-static'" \
-o /tmp/dist/opt/resource \
./cmd/...
-trimpath \
-ldflags "-s -w -extldflags '-static'" \
-o /tmp/dist/opt/resource \
./cmd/...


FROM ubuntu:latest
Expand Down

0 comments on commit 4a8efac

Please sign in to comment.