This repository was archived by the owner on Feb 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +21
-26
lines changed Expand file tree Collapse file tree 7 files changed +21
-26
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
2- FROM --platform=$TARGETPLATFORM golang AS build
2+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
33ARG DIBS_TARGET
44ARG TARGETPLATFORM
55
66WORKDIR /app
77
8- RUN apt update
9- RUN apt install -y protobuf-compiler gcc make git file
8+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
109
1110RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1211RUN install /tmp/dibs /usr/local/bin
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
22# Build container
3- FROM --platform=$TARGETPLATFORM golang AS build
3+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
44ARG DIBS_TARGET
55ARG TARGETPLATFORM
66
77WORKDIR /app
88
9- RUN apt update
10- RUN apt install -y protobuf-compiler gcc make git file
9+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
1110
1211RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1312RUN install /tmp/dibs /usr/local/bin
@@ -23,7 +22,7 @@ RUN dibs -generateSources
2322RUN dibs -build
2423
2524# Run container
26- FROM --platform=$TARGETPLATFORM debian
25+ FROM --platform=$TARGETPLATFORM alpine
2726ARG DIBS_TARGET
2827ARG TARGETPLATFORM
2928
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
22# Build container
3- FROM --platform=$TARGETPLATFORM golang AS build
3+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
44ARG DIBS_TARGET
55ARG TARGETPLATFORM
66
77WORKDIR /app
88
9- RUN apt update
10- RUN apt install -y protobuf-compiler gcc make git file
9+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
1110
1211RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1312RUN install /tmp/dibs /usr/local/bin
@@ -23,7 +22,7 @@ RUN dibs -generateSources
2322RUN dibs -build
2423
2524# Run container
26- FROM --platform=$TARGETPLATFORM debian
25+ FROM --platform=$TARGETPLATFORM alpine
2726ARG DIBS_TARGET
2827ARG TARGETPLATFORM
2928
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
22# Build container
3- FROM --platform=$TARGETPLATFORM golang AS build
3+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
44ARG DIBS_TARGET
55ARG TARGETPLATFORM
66
77WORKDIR /app
88
9- RUN apt update
10- RUN apt install -y protobuf-compiler gcc make git file
9+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
1110
1211RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1312RUN install /tmp/dibs /usr/local/bin
@@ -23,7 +22,7 @@ RUN dibs -generateSources
2322RUN dibs -build
2423
2524# Run container
26- FROM --platform=$TARGETPLATFORM debian
25+ FROM --platform=$TARGETPLATFORM alpine
2726ARG DIBS_TARGET
2827ARG TARGETPLATFORM
2928
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
22# Build container
3- FROM --platform=$TARGETPLATFORM golang AS build
3+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
44ARG DIBS_TARGET
55ARG TARGETPLATFORM
66
77WORKDIR /app
88
9- RUN apt update
10- RUN apt install -y protobuf-compiler gcc make git file
9+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
1110
1211RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1312RUN install /tmp/dibs /usr/local/bin
@@ -23,7 +22,7 @@ RUN dibs -generateSources
2322RUN dibs -build
2423
2524# Run container
26- FROM --platform=$TARGETPLATFORM debian
25+ FROM --platform=$TARGETPLATFORM alpine
2726ARG DIBS_TARGET
2827ARG TARGETPLATFORM
2928
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
22# Build container
3- FROM --platform=$TARGETPLATFORM golang AS build
3+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
44ARG DIBS_TARGET
55ARG TARGETPLATFORM
66
77WORKDIR /app
88
9- RUN apt update
10- RUN apt install -y protobuf-compiler gcc make git file
9+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
1110
1211RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1312RUN install /tmp/dibs /usr/local/bin
@@ -23,12 +22,14 @@ RUN dibs -generateSources
2322RUN dibs -build
2423
2524# Run container
26- FROM --platform=$TARGETPLATFORM golang
25+ FROM --platform=$TARGETPLATFORM golang:alpine
2726ARG DIBS_TARGET
2827ARG TARGETPLATFORM
2928
3029WORKDIR /app
3130
31+ RUN apk add -u curl
32+
3233RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
3334RUN install /tmp/dibs /usr/local/bin
3435
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:experimental
2- FROM --platform=$TARGETPLATFORM golang AS build
2+ FROM --platform=$TARGETPLATFORM golang:alpine AS build
33ARG DIBS_TARGET
44ARG TARGETPLATFORM
55
66WORKDIR /app
77
8- RUN apt update
9- RUN apt install -y protobuf-compiler gcc make git file
8+ RUN apk add -u curl protoc gcc make git perl musl-dev linux-headers file
109
1110RUN curl -Lo /tmp/dibs https://github.com/pojntfx/dibs/releases/latest/download/dibs-linux-amd64
1211RUN install /tmp/dibs /usr/local/bin
You can’t perform that action at this time.
0 commit comments