Skip to content

Commit

Permalink
V2.7 fix docker default dev server-version (rancher#47545)
Browse files Browse the repository at this point in the history
* add version arg on dockerfile

* add version arg on dockerfile
  • Loading branch information
tashima42 authored Oct 14, 2024
1 parent f7a3324 commit cdb80e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ ARG CHART_DEFAULT_BRANCH=dev-v2.7
ARG PARTNER_CHART_DEFAULT_BRANCH=main
ARG RKE2_CHART_DEFAULT_BRANCH=main
# kontainer-driver-metadata branch to be set for specific branch other than dev/master, logic at rancher/rancher/pkg/settings/setting.go
ARG VERSION=${VERSION}
ARG CATTLE_KDM_BRANCH=dev-v2.7

ENV CATTLE_SYSTEM_CHART_DEFAULT_BRANCH=$SYSTEM_CHART_DEFAULT_BRANCH
Expand Down
2 changes: 1 addition & 1 deletion package/Dockerfile.agent
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ENV LOGLEVEL_VERSION v0.1.6

RUN curl -sLf https://github.com/rancher/loglevel/releases/download/${LOGLEVEL_VERSION}/loglevel-${ARCH}-${LOGLEVEL_VERSION}.tar.gz | tar xvzf - -C /usr/bin

ARG VERSION=dev
ARG VERSION=${VERSION}
LABEL io.cattle.agent true
ENV AGENT_IMAGE rancher/rancher-agent:${VERSION}
ENV CATTLE_RANCHER_WEBHOOK_MIN_VERSION=''
Expand Down

0 comments on commit cdb80e8

Please sign in to comment.