-
Notifications
You must be signed in to change notification settings - Fork 41
/
Dockerfile
35 lines (23 loc) · 943 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#--------------------------------------
# Image: base
#--------------------------------------
FROM ghcr.io/containerbase/ubuntu:24.04@sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab
ARG APT_HTTP_PROXY
# Weekly cache buster
ARG CACHE_WEEK
ARG CONTAINERBASE_CDN
ARG CONTAINERBASE_VERSION
LABEL maintainer="Rhys Arkins <[email protected]>" \
org.opencontainers.image.source="https://github.com/containerbase/base"
# autoloading containerbase env
ENV BASH_ENV=/usr/local/etc/env ENV=/usr/local/etc/env PATH=/home/ubuntu/bin:$PATH
SHELL ["/bin/bash" , "-c"]
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["bash"]
ARG TARGETARCH
COPY dist/docker/ /
COPY dist/cli/containerbase-cli-${TARGETARCH} /usr/local/containerbase/bin/containerbase-cli
RUN install-containerbase
# renovate: datasource=github-tags packageName=git/git
RUN install-tool git v2.47.1
LABEL org.opencontainers.image.version="${CONTAINERBASE_VERSION}"