Skip to content
Merged

Dev #21

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docker Image CI

on:
push:
branches: [ master ]
branches: [ dev ]
pull_request:
branches: [ master ]
branches: [ dev ]

workflow_dispatch:

Expand Down
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM phusion/baseimage:focal-1.2.0
FROM phusion/baseimage:jammy-1.0.4
LABEL maintainer="skysider <skysider@163.com>"

ENV DEBIAN_FRONTEND noninteractive
Expand Down Expand Up @@ -71,7 +71,7 @@ RUN python3 -m pip config set global.index-url http://pypi.tuna.tsinghua.edu.cn/
pebble \
r2pipe

RUN gem install one_gadget seccomp-tools && rm -rf /var/lib/gems/*/cache/*
RUN gem install elftools one_gadget seccomp-tools && rm -rf /var/lib/gems/*/cache/*

RUN git clone --depth 1 https://github.com/pwndbg/pwndbg && \
cd pwndbg && chmod +x setup.sh && ./setup.sh
Expand Down Expand Up @@ -126,8 +126,6 @@ COPY linux_server linux_server64 /ctf/

RUN chmod a+x /ctf/linux_server /ctf/linux_server64

ARG PWNTOOLS_VERSION

RUN python3 -m pip install --no-cache-dir pwntools==${PWNTOOLS_VERSION}
RUN python3 -m pip install --no-cache-dir pwntools

CMD ["/sbin/my_init"]
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pwndocker
=========
A docker environment for pwn in ctf based on **phusion/baseimage:focal-1.2.0**, which is a modified ubuntu 20.04 baseimage for docker
A docker environment for pwn in ctf based on **phusion/baseimage:jammy-1.0.4**, which is a modified ubuntu 22.04 baseimage for docker

### Usage

Expand Down Expand Up @@ -92,6 +92,9 @@ root@pwn:/ctf/work# /glibc/2.28/64/ld-2.28.so /bin/ls -l /

### ChangeLog

#### 2025-09-14
update base image to ubuntu 22.04 and update `pwntools` version to 4.14.1

#### 2023-10-22
add `zsh` and `ohmyzsh` to docker image, update `pwntools` version to 4.11.0

Expand Down