-
Notifications
You must be signed in to change notification settings - Fork 38
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) (#128)
Signed-off-by: gatici <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
10 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,20 +3,15 @@ | |
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
FROM golang:1.18.3-stretch AS builder | ||
FROM golang:1.21.3-bookworm AS builder | ||
|
||
LABEL maintainer="ONF <[email protected]>" | ||
|
||
#RUN apt remove cmdtest yarn | ||
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list | ||
RUN apt-get update | ||
RUN 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 | ||
|
||
RUN cd $GOPATH/src && mkdir -p amf | ||
|
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