Skip to content

Commit

Permalink
Update base container images.
Browse files Browse the repository at this point in the history
  • Loading branch information
schooler-hpe committed Jul 1, 2021
1 parent fe6c4bc commit d3c10d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Dockerfile for building HMS bss.

# Build base just has the packages installed we need.
FROM arti.dev.cray.com/baseos-docker-master-local/golang:1.14-alpine3.12 AS build-base
FROM arti.dev.cray.com/baseos-docker-master-local/golang:1.16-alpine3.13 AS build-base

RUN set -ex \
&& apk update \
Expand All @@ -32,6 +32,8 @@ RUN set -ex \
# Base copies in the files we need to test/build.
FROM build-base AS base

RUN go env -w GO111MODULE=auto

# Copy all the necessary files to the image.
COPY cmd $GOPATH/src/stash.us.cray.com/HMS/hms-bss/cmd
COPY pkg $GOPATH/src/stash.us.cray.com/HMS/hms-bss/pkg
Expand Down Expand Up @@ -60,8 +62,8 @@ FROM base AS builder
RUN set -ex && go build -v -i -o /usr/local/bin/boot-script-service stash.us.cray.com/HMS/hms-bss/cmd/boot-script-service

### Final Stage ###
FROM arti.dev.cray.com/baseos-docker-master-local/alpine:3.12
LABEL maintainer="Cray, Inc."
FROM arti.dev.cray.com/baseos-docker-master-local/alpine:3.13
LABEL maintainer="Hewlett Packard Enterprise"
EXPOSE 27778
STOPSIGNAL SIGTERM

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module stash.us.cray.com/HMS/hms-bss

go 1.12
go 1.16

require (
github.com/evanphx/json-patch v4.9.0+incompatible
Expand Down

0 comments on commit d3c10d6

Please sign in to comment.