mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
docker: Fix Dockerfile style warnings
This patch fixes some Dockerfile style warnings: - `WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match` - `LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format` https://github.com/albertito/chasquid/pull/68 Amended-by: Alberto Bertogli <albertito@blitiri.com.ar> Adjusted commit message.
This commit is contained in:
committed by
Alberto Bertogli
parent
ad7975c826
commit
3ff26fa145
@@ -8,7 +8,7 @@
|
||||
# See the README.md file for more details.
|
||||
|
||||
# Build the binaries.
|
||||
FROM golang:latest as build
|
||||
FROM golang:latest AS build
|
||||
WORKDIR /go/src/blitiri.com.ar/go/chasquid
|
||||
COPY . .
|
||||
RUN go get -d ./...
|
||||
@@ -19,7 +19,7 @@ FROM debian:stable
|
||||
|
||||
# Make debconf/frontend non-interactive, to avoid distracting output about the
|
||||
# lack of $TERM.
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install the packages we need.
|
||||
# This includes chasquid, which sets up good defaults.
|
||||
|
||||
Reference in New Issue
Block a user