Skip to content

Commit 2e968ee

Browse files
committed
chore: add needed packages for golang images
1 parent 972f5bc commit 2e968ee

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

golang/golang-121/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ FROM golang:1.21
77

88
LABEL author="DevOps Team at Sparked Host" maintainer="devops@sparkedhost.com"
99

10+
RUN apt-get update -y \
11+
&& apt-get install fontconfig iproute2 curl ca-certificates unzip tar jq -y \
12+
&& useradd -d /home/container -m container
13+
1014
USER container
1115
ENV USER=container HOME=/home/container LANG=C.UTF-8
1216

golang/golang-124/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ FROM golang:1.24
77

88
LABEL author="DevOps Team at Sparked Host" maintainer="devops@sparkedhost.com"
99

10+
RUN apt-get update -y \
11+
&& apt-get install fontconfig iproute2 curl ca-certificates unzip tar jq -y \
12+
&& useradd -d /home/container -m container
13+
1014
USER container
1115
ENV USER=container HOME=/home/container LANG=C.UTF-8
1216

0 commit comments

Comments
 (0)