Skip to content

Commit

Permalink
update docker base images and add git-filter-repo
Browse files Browse the repository at this point in the history
- update base image to debian:bullseye
- add debian backports and install git-filter-repo from bullseye-backports
- update git version as filter repo requires git >=2.24.0

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
  • Loading branch information
akhilerm committed Mar 31, 2023
1 parent 0ebf689 commit d25773f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:stretch
FROM debian:bullseye
MAINTAINER Stefan Schimanski <sttts@redhat.com>
# debian backports are added so that git-filter-repo can be installed
RUN echo deb http://deb.debian.org/debian bullseye-backports main >> /etc/apt/sources.list
RUN apt-get update \
&& apt-get install -y -qq git=1:2.11.0-3+deb9u7 \
&& apt-get install -y -qq git=1:2.30.2-1+deb11u2 \
&& apt-get install -y -qq mercurial \
&& apt-get install -y -qq ca-certificates curl wget jq vim tmux bsdmainutils tig gcc zip \
&& apt-get install -y -qq ca-certificates curl wget jq vim tmux bsdmainutils tig gcc zip git-filter-repo/bullseye-backports \
&& rm -rf /var/lib/apt/lists/*

ENV GOPATH="/go-workspace"
Expand Down

0 comments on commit d25773f

Please sign in to comment.