-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumps go version to 1.21 (latest stable)
Signed-off-by: gatici <[email protected]>
- Loading branch information
Showing
3 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,13 @@ | |
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
FROM golang:1.16.0-stretch AS builder | ||
FROM golang:1.21.3-bookworm AS builder | ||
|
||
LABEL maintainer="ONF <[email protected]>" | ||
|
||
#RUN apt remove cmdtest yarn | ||
RUN apt-get update && apt-get -y install apt-transport-https ca-certificates | ||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg > pubkey.gpg | ||
RUN apt-key add pubkey.gpg | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | ||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | ||
RUN apt-get update | ||
RUN apt-get -y install gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev nodejs yarn | ||
RUN apt-get -y install gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev | ||
RUN apt-get clean | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters