Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 from Axway/APIGOV-26871
Browse files Browse the repository at this point in the history
APIGOV-26871 - update golang for security
  • Loading branch information
dfeldick authored Dec 15, 2023
2 parents 8d2c1ef + 0467e2e commit c1b3923
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build/discovery.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build image
# golang:1.21.3-alpine3.18 linux/amd64
FROM docker.io/golang@sha256:27c76dcf886c5024320f4fa8ceb57d907494a3bb3d477d0aa7ac8385acd871ea AS builder
# golang:1.21.5-alpine3.18 linux/amd64
FROM docker.io/golang@sha256:2aa0f0960cffcfd8daac2e765b8fdd3aa001a97d967c9ae96d58d06ff11ecdb4 AS builder

ARG VERSION
ARG COMMIT_ID
Expand Down Expand Up @@ -37,8 +37,8 @@ RUN chown -R $APP_USER:$APP_USER ${APP_HOME}/bin/webmethods_discovery_agent

USER $APP_USER

# alpine 3.18.3
FROM docker.io/alpine@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33
# alpine 3.18 linux/amd64
FROM docker.io/alpine@sha256:d695c3de6fcd8cfe3a6222b0358425d40adfd129a8a47c3416faff1a8aece389

ENV APP_USER axway
ENV APP_HOME /go/src/github.com/Axway/agents-webmethods
Expand Down
8 changes: 4 additions & 4 deletions build/traceability.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build image
# golang:1.21.3-alpine3.18 linux/amd64
FROM docker.io/golang@sha256:27c76dcf886c5024320f4fa8ceb57d907494a3bb3d477d0aa7ac8385acd871ea AS builder
# golang:1.21.5-alpine3.18 linux/amd64
FROM docker.io/golang@sha256:2aa0f0960cffcfd8daac2e765b8fdd3aa001a97d967c9ae96d58d06ff11ecdb4 AS builder
ENV APP_HOME /go/src/github.com/Axway/agents-webmethods
ENV APP_USER axway
ENV AGENT=${APP_HOME}/cmd/traceability
Expand Down Expand Up @@ -37,8 +37,8 @@ RUN chown -R $APP_USER:$APP_USER ${APP_HOME}/bin/webmethods_traceability_agent

USER $APP_USER

# alpine 3.18.3
FROM docker.io/alpine@sha256:c5c5fda71656f28e49ac9c5416b3643eaa6a108a8093151d6d1afc9463be8e33
# alpine 3.18 linux/amd64
FROM docker.io/alpine@sha256:d695c3de6fcd8cfe3a6222b0358425d40adfd129a8a47c3416faff1a8aece389

ENV APP_USER axway
ENV APP_HOME /go/src/github.com/Axway/agents-webmethods
Expand Down

0 comments on commit c1b3923

Please sign in to comment.