Skip to content

Commit

Permalink
update alpine image version (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
natasha41575 committed Aug 10, 2023
1 parent 357e9ea commit a98f7f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions porch/func/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FROM gcr.io/kpt-fn/set-project-id:v0.2.0 as set-project-id
FROM gcr.io/kpt-fn/starlark:v0.3.0 as starlark
FROM gcr.io/kpt-fn/upsert-resource:v0.2.0 as upsert-resource

FROM golang:1.20.6-alpine3.18 as builder
FROM golang:1.20.7-alpine3.18 as builder
WORKDIR /go/src/github.com/GoogleContainerTools/kpt

RUN go install github.com/grpc-ecosystem/grpc-health-probe@v0.4.11
Expand All @@ -43,7 +43,7 @@ COPY porch/func/ porch/func/
RUN cd porch/func ; go build -v -o /server ./server
COPY porch/func/config.yaml /config.yaml

FROM alpine:3.15
FROM alpine:3.18

COPY --from=apply-setters /usr/local/bin/function /functions/apply-setters
COPY --from=apply-setters-v1 /usr/local/bin/function /functions/apply-setters-v1
Expand Down
4 changes: 2 additions & 2 deletions porch/func/Dockerfile-wrapperserver
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.6-alpine3.18 as builder
FROM golang:1.20.7-alpine3.18 as builder

WORKDIR /go/src/github.com/GoogleContainerTools/kpt

Expand All @@ -14,6 +14,6 @@ COPY porch/func/ porch/func/
RUN cd porch/func ; go build -v -o /wrapper-server/wrapper-server ./wrapper-server
RUN cp $GOPATH/bin/grpc-health-probe /wrapper-server/

FROM alpine:3.15
FROM alpine:3.18

COPY --from=builder /wrapper-server/* /wrapper-server/
2 changes: 1 addition & 1 deletion release/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM alpine:3.13
FROM alpine:3.18
RUN apk update && apk upgrade && \
apk add --no-cache git less mandoc diffutils bash openssh docker-cli && \
rm -rf /var/lib/apt/lists/* && \
Expand Down

0 comments on commit a98f7f6

Please sign in to comment.