From 51b8df2eb2d6a255d832748732cc05ae36367287 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 25 Oct 2021 17:44:09 +0800 Subject: [PATCH] Remove default timeout, bump Alpine version --- Dockerfile | 4 ++-- s3.go | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0392950..1a98d58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine3.13 as build-web +FROM node:16-alpine3.14 as build-web WORKDIR /src COPY . . @@ -7,7 +7,7 @@ RUN cd web && npm install ARG NODE_ENV=production RUN cd web && npm run build -FROM golang:1.16-alpine3.13 as build +FROM golang:1.16-alpine3.14 as build RUN apk add \ make diff --git a/s3.go b/s3.go index daf69c3..b4083e0 100644 --- a/s3.go +++ b/s3.go @@ -20,9 +20,7 @@ import ( var httpClientS3 *http.Client func setupS3() { - httpClientS3 = &http.Client{ - Timeout: 10 * time.Second, - } + httpClientS3 = &http.Client{} } /* signing */