Skip to content

Commit

Permalink
fix(golang/debian): fix command error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fab1o0107 committed Dec 12, 2023
1 parent 7f8cd60 commit f228d97
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions golang/1.14/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# TAGS:
# VARIANT:
# PLATFORMS: linux/amd64, linux/arm64/v8, linux/arm/v7, linux/ppc64le, linux/s390x
FROM golang:1.14-bullseye
FROM golang:1.14.15-buster

ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
4 changes: 2 additions & 2 deletions golang/1.15/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# TAGS:
# VARIANT:
# PLATFORMS: linux/amd64, linux/arm64/v8, linux/arm/v7, linux/ppc64le, linux/s390x
FROM golang:1.15.15-bullseye
FROM golang:1.15.15-buster

ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.16/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.17/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.18/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.19/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.20/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.21/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& addgroup -S container && adduser -D -h /home/container -S -G container container
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
ENV USER=container HOME=/home/container
Expand Down

0 comments on commit f228d97

Please sign in to comment.