Minimal Ubuntu-based base image for Cloudron apps
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:de4937ce3dfc7c89f05f1503c52434f0a631ac84995f0df65eed0754e5c97d48 in / |
| CMD ["/bin/bash"] |
| LABEL maintainer=Tim Considine |
| LABEL org.opencontainers.image.title=cloudron-minibase |
| LABEL org.opencontainers.image.description=Minimal Ubuntu-based base image for Cloudron apps |
| LABEL org.opencontainers.image.version=0.0.1 |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends bash gosu ca-certificates locales tzdata curl wget tar gzip unzip jq rsync sed gawk grep findutils coreutils less nano procps iproute2 net-tools iputils-ping sudo && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV LC_ALL=en_US.UTF-8 |
| ENV LANGUAGE=en_US:en |
| RUN /bin/sh -c groupadd -o -g 1000 cloudron && useradd -o -u 1000 -g cloudron -d /app/data -s /bin/bash cloudron && mkdir -p /app/code /app/data && chown cloudron:cloudron /app/data # buildkit |
| WORKDIR /app/code |
| CMD ["bash"] |
| ARG PICOCLAW_VERSION=v0.3.1 |
| RUN |1 PICOCLAW_VERSION=v0.3.1 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends micro python3 && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /app/code |
| RUN |1 PICOCLAW_VERSION=v0.3.1 /bin/sh -c mkdir -p /app/code /app/data && curl -fsSL -o /tmp/picoclaw.tar.gz "https://github.com/sipeed/picoclaw/releases/download/${PICOCLAW_VERSION}/picoclaw_Linux_x86_64.tar.gz" && mkdir -p /tmp/picoclaw-dist && tar -xzf /tmp/picoclaw.tar.gz -C /tmp/picoclaw-dist && PICOCLAW_BIN="$(find /tmp/picoclaw-dist -type f -name 'picoclaw' -print -quit)" && PICOCLAW_LAUNCHER_BIN="$(find /tmp/picoclaw-dist -type f -name 'picoclaw-launcher' -print -quit)" && test -n "${PICOCLAW_BIN}" && test -n "${PICOCLAW_LAUNCHER_BIN}" && install -m 0755 "${PICOCLAW_BIN}" /usr/local/bin/picoclaw && install -m 0755 "${PICOCLAW_LAUNCHER_BIN}" /usr/local/bin/picoclaw-launcher && rm -rf /tmp/picoclaw.tar.gz /tmp/picoclaw-dist # buildkit |
| COPY start.sh /app/code/start.sh # buildkit |
| COPY simple_telegram_bot.py /app/code/simple_telegram_bot.py # buildkit |
| RUN |1 PICOCLAW_VERSION=v0.3.1 /bin/sh -c chmod +x /app/code/start.sh /app/code/simple_telegram_bot.py # buildkit |
| CMD ["/app/code/start.sh"] |
| Key |
Value |
| maintainer |
Tim Considine |
| org.opencontainers.image.description |
Minimal Ubuntu-based base image for Cloudron apps |
| org.opencontainers.image.title |
cloudron-minibase |
| org.opencontainers.image.version |
0.0.1 |