tsk-ai 0.10.8

tsk-tsk: keeping your agents out of trouble with sandboxed coding agent automation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM alpine:latest

RUN apk add --no-cache squid socat iptables su-exec

# Copy our squid configuration and entrypoint script
COPY squid.conf /etc/squid/squid.conf
COPY entrypoint.sh /entrypoint.sh

# Create necessary directories with proper permissions
RUN mkdir -p /var/cache/squid /var/log/squid /var/run/squid && \
    chown -R squid:squid /var/cache/squid /var/log/squid /var/run/squid && \
    chmod +x /entrypoint.sh

# Expose the proxy port
EXPOSE 3128

# Run entrypoint as root for iptables setup, then drop to squid user via su-exec
ENTRYPOINT ["/entrypoint.sh"]