Pass hadolint

This commit is contained in:
nemunaire 2021-11-22 13:05:19 +01:00
parent 7c711279a7
commit bc28dbf801
2 changed files with 5 additions and 5 deletions

View File

@ -6,9 +6,9 @@ RUN apk --no-cache add python2 build-base
COPY ui/ ui/
RUN yarn config set network-timeout 100000
RUN yarn --cwd ui install
RUN yarn --cwd ui --offline build
RUN yarn config set network-timeout 100000 && \
yarn --cwd ui install && \
yarn --cwd ui --offline build
FROM golang:1-alpine as gobuild
@ -38,7 +38,7 @@ RUN sed -i '/yarn --offline build/d' ui/assets.go && \
go build -v -ldflags '-w'
FROM alpine
FROM alpine:3.14
EXPOSE 8081

View File

@ -1,4 +1,4 @@
FROM alpine
FROM alpine:3.14
EXPOSE 8081