Skip to content

Commit

Permalink
Docker changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanda Kishore committed Jun 6, 2021
1 parent 06e4abd commit 9b5b4d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15 as builder
FROM golang:1.16 as builder
ENV USER=appuser \
UID=10001 \
GO111MODULE=on \
Expand All @@ -15,10 +15,11 @@ RUN adduser \
"${USER}"
WORKDIR /app
RUN mkdir -p /app/templates
RUN mkdir -p /app/static
COPY *.go /app/
COPY go.* /app/
COPY templates /app/templates/
COPY go.* /app/
COPY static /app/static/
RUN cd /app \
&& go build -a -o server

Expand All @@ -28,7 +29,6 @@ COPY --from=builder /etc/group /etc/group
WORKDIR /app
USER ${USER}:${USER}
COPY --from=builder /app/server .
COPY --from=builder /app/templates /app/templates/
ENV USER=appuser \
APP_PORT=1323
EXPOSE ${APP_PORT}
Expand Down
2 changes: 1 addition & 1 deletion charts/hello-universe/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deployments:
externalNodePort: 32760
servicePortName: httpport
imageName: nanda/hello-universe
imageTag: v1
imageTag: v1.3.1
configMapName: config-plain
configFileName: config-file
secretName: secrets-plain
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ package main
var VERSION = [...]string{
"1", // MAJOR,
"3", // MINOR,
"0", // PATCH,
"1", // PATCH,
}

0 comments on commit 9b5b4d4

Please sign in to comment.