Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-tools integrates docker(cli) for building and publishing #283

Merged
merged 1 commit into from
Feb 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions docker/Dockerfile.build-tools
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
FROM golang:1.16.15-bullseye
FROM golang:1.17.13-bullseye

WORKDIR /workspaces

RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
lsb-release \
software-properties-common \
jq \
unzip && \
apt-get clean

# install docker
ENV DOCKER_VERSION=5:23.0.0-1~debian.11~bullseye
ENV CONTAINERD_VERSION=1.6.16-1
ADD https://download.docker.com/linux/debian/gpg /etc/apt/keyrings/docker.gpg
RUN apt-key add /etc/apt/keyrings/docker.gpg && \
add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
RUN apt-get update && apt-get install -y --no-install-recommends \
docker-ce="${DOCKER_VERSION}" \
docker-ce-cli="${DOCKER_VERSION}" \
containerd.io="${CONTAINERD_VERSION}" && \
apt-get clean

# version of toolchains
ENV CONTROLLER_GEN_VERSION=v0.7.0
ENV ISTIO_TOOLS_VERSION=1.12.0
Expand Down