Skip to content

Commit

Permalink
feat(golang): make support api for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Fab1o0107 committed Feb 26, 2024
1 parent 38eef17 commit 362c5c3
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion golang/1.14/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.14.15-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.14/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.15/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.15.15-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.15/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.16/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.16.15-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER 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 @@ -6,7 +6,7 @@ FROM golang:1.16.15-bullseye
ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.17/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.17.13-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER 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 @@ -6,7 +6,7 @@ FROM golang:1.17.13-bullseye
ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.18/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.18.10-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER 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 @@ -6,7 +6,7 @@ FROM golang:1.18.10-bullseye
ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.19/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.19.13-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER 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 @@ -6,7 +6,7 @@ FROM golang:1.19.13-bullseye
ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.20/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.20.12-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER 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 @@ -6,7 +6,7 @@ FROM golang:1.20.12-bullseye
ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down
2 changes: 1 addition & 1 deletion golang/1.21/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM golang:1.21.5-alpine

ARG BUILDPLATFORM

RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base \
RUN apk add --update --no-cache tini ca-certificates curl ffmpeg git openssl sqlite tar tzdata build-base libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& addgroup -S container && adduser -D -h /home/container -S -G container container

USER 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 @@ -6,7 +6,7 @@ FROM golang:1.21.5-bullseye
ARG BUILDPLATFORM

RUN apt update \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata \
&& apt install -y git build-essential ca-certificates iputils-ping curl iproute2 ffmpeg procps tini tar tzdata libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev \
&& groupadd -r container && useradd -d /home/container -r -g container container

USER container
Expand Down

0 comments on commit 362c5c3

Please sign in to comment.