Skip to content

Commit d30d620

Browse files
committed
Update starter devcontainer files
1 parent 163e48d commit d30d620

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ENV DEBIAN_FRONTEND=noninteractive
55
# Install build dependencies
66
RUN apt-get update && apt-get install -y --no-install-recommends \
77
git curl sbcl make unzip ca-certificates \
8-
libsqlite3-dev libssl-dev gawk freetds-dev jq \
9-
&& rm -rf /var/lib/apt/lists/*
8+
libsqlite3-dev libssl-dev gawk freetds-dev jq \
9+
&& rm -rf /var/lib/apt/lists/*
1010

1111
# Clone pgloader and build it
1212
WORKDIR /build
@@ -15,12 +15,14 @@ RUN git clone https://github.com/dimitri/pgloader.git \
1515
&& make
1616

1717
FROM node:22
18+
19+
1820
# Install basic development tools
1921
RUN \
2022
echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
2123
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
2224
apt update && \
23-
apt install -y less man-db sudo vim jq python-is-python3 python3-virtualenv \
25+
apt install -y tini less man-db sudo vim jq python-is-python3 python3-virtualenv \
2426
locales postgresql-client-16 default-jre
2527

2628
COPY --from=pgloader-builder /build/pgloader/build/bin/pgloader /usr/bin/pgloader
@@ -33,18 +35,16 @@ RUN \
3335
RUN \
3436
curl -LsSf https://astral.sh/uv/install.sh | sh ;\
3537
mv $HOME/.local/bin/uv /usr/local/bin/uv ;\
36-
mv $HOME/.local/bin/uvx /usr/local/bin/uvx
38+
mv $HOME/.local/bin/uvx /usr/local/bin/uvx
39+
3740

3841
# Ensure default `node` user has access to `sudo`
3942
ARG USERNAME=node
4043
RUN \
4144
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
4245
&& chmod 0440 /etc/sudoers.d/$USERNAME
4346

44-
ENV TINI_VERSION=v0.19.0
45-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
46-
RUN chmod +x /tini
47-
ENTRYPOINT ["/tini", "--"]
47+
ENTRYPOINT ["/usr/bin/tini", "--"]
4848

4949
# install ops and plugins
5050
USER node
@@ -58,6 +58,5 @@ RUN \
5858
ops -plugin https://github.com/mastrogpt/olaris-a41 ;\
5959
ops ai ; ops a41
6060

61-
6261
CMD ["sleep", "infinity"]
6362

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
app:
3-
image: ghcr.io/mastrogpt/agent41-starter:2506131700
3+
image: ghcr.io/mastrogpt/agent41-starter:2506131950
44
volumes:
55
- ../..:/workspaces:cached
66
depends_on:

0 commit comments

Comments
 (0)