Skip to content

Commit 32e4e3a

Browse files
Update Dockerfile and Docs (#100)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f7fd160 commit 32e4e3a

5 files changed

Lines changed: 50 additions & 19 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: Docker Image CI
33
on:
44
push:
55
branches:
6-
- '**'
6+
- 'main'
77
tags:
88
- 'v*.*.*'
99
pull_request:
1010
branches:
1111
- 'main'
1212

13+
1314
jobs:
1415
docker:
1516
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Any unreleased changes
1111

12+
## [3.2.8] - 9-6-2022
13+
14+
- Update docker image
15+
1216
## [3.2.7] - 4-30-2022
1317

1418
- Add Traitor
@@ -149,7 +153,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
149153

150154
- Initial Release
151155

152-
[unreleased]: https://github.com/fsociety-team/fsociety/compare/v3.2.7...HEAD
156+
<!-- References -->
157+
[unreleased]: https://github.com/fsociety-team/fsociety/compare/v3.2.8...HEAD
158+
[3.2.8]: https://github.com/fsociety-team/fsociety/compare/v3.2.7...v3.2.8
153159
[3.2.7]: https://github.com/fsociety-team/fsociety/compare/v3.2.6...v3.2.7
154160
[3.2.6]: https://github.com/fsociety-team/fsociety/compare/v3.2.5...v3.2.6
155161
[3.2.5]: https://github.com/fsociety-team/fsociety/compare/v3.2.4...v3.2.5

Dockerfile

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
FROM python:3.11.0b5-alpine
2+
3+
LABEL org.opencontainers.image.title="fsociety" \
4+
org.opencontainers.image.description="A Modular Penetration Testing Framework" \
5+
org.opencontainers.image.authors="fsociety-team <contact@fsociety.dev>" \
6+
org.opencontainers.image.licenses="MIT" \
7+
org.opencontainers.image.source="https://github.com/fsociety-team/fsociety" \
8+
org.opencontainers.image.documentation="https://fsociety.dev/"
9+
10+
# Environment variables for efficient builds
11+
ENV PYTHONUNBUFFERED=1 \
12+
PYTHONDONTWRITEBYTECODE=1 \
13+
PYTHONHASHSEED=random \
14+
PIP_NO_CACHE_DIR=off \
15+
PIP_DISABLE_PIP_VERSION_CHECK=on \
16+
PIP_DEFAULT_TIMEOUT=100
17+
218
COPY . /fsociety
319
WORKDIR /fsociety
4-
RUN apk --update add git nmap
5-
RUN pip install -e .
6-
CMD fsociety --info
20+
21+
RUN apk add --update --no-cache git nmap && pip install -e .
22+
23+
CMD ["--info"]
24+
ENTRYPOINT ["fsociety"]

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1+
<p align="center">
2+
<img src="https://raw.githubusercontent.com/fsociety-team/fsociety/main/images/fsociety.png" width="600px" alt="fsociety-team/fsociety" />
3+
</p>
4+
15
# fsociety
26

37
[![PyPI](https://img.shields.io/pypi/v/fsociety?color=orange&logo=pypi&logoColor=orange&style=flat-square)](https://pypi.org/project/fsociety/)
48
[![Python Version](https://img.shields.io/badge/python-3.7%2B-blue?logo=python&style=flat-square)](https://www.python.org/downloads/)
59
![PyPI - Downloads](https://img.shields.io/pypi/dm/fsociety?style=flat-square)
6-
[![Docker Cloud build](https://img.shields.io/docker/cloud/build/fsocietyteam/fsociety?style=flat-square)](https://hub.docker.com/r/fsocietyteam/fsociety)
10+
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/fsocietyteam/fsociety/latest?style=flat-square)](https://hub.docker.com/r/fsocietyteam/fsociety)
711
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-organge.svg?logo=git&logoColor=organge&style=flat-square)](http://makeapullrequest.com)
8-
[![Open in Visual Studio Code](https://img.shields.io/badge/VSCode-Open-0098FF)](https://open.vscode.dev/fsociety-team/fsociety)
12+
[![Open in Visual Studio Code](https://img.shields.io/badge/VSCode-Open-0098FF?style=flat-square)](https://open.vscode.dev/fsociety-team/fsociety)
13+
[![Twitter Follow](https://img.shields.io/twitter/follow/fsociety_team?color=blue&style=flat-square)](https://twitter.com/fsociety_team)
914

1015
A Modular Penetration Testing Framework
1116

12-
[![Packages](https://img.shields.io/badge/PACKAGES.md-red?style=flat-square)](https://github.com/fsociety-team/fsociety/blob/main/PACKAGES.md) [![Changelog](https://img.shields.io/badge/CHANGELOG.md-red?style=flat-square)](https://github.com/fsociety-team/fsociety/blob/main/CHANGELOG.md)
13-
14-
[![fsociety](https://raw.githubusercontent.com/fsociety-team/fsociety/main/images/fsociety.png)](https://github.com/fsociety-team/fsociety)
17+
[![Packages](https://img.shields.io/badge/PACKAGES.md-red?style=flat-square)](https://github.com/fsociety-team/fsociety/blob/main/PACKAGES.md)
18+
[![Changelog](https://img.shields.io/badge/CHANGELOG.md-red?style=flat-square)](https://github.com/fsociety-team/fsociety/blob/main/CHANGELOG.md)
1519

16-
![cli](https://raw.githubusercontent.com/fsociety-team/fsociety/main/images/cli.png)
20+
<p align="center">
21+
<img src="https://raw.githubusercontent.com/fsociety-team/fsociety/main/images/cli.png" width="600px" alt="fsociety cli" />
22+
</p>
1723

1824
## Install
1925

@@ -40,22 +46,22 @@ optional arguments:
4046
-s, --suggest suggest a tool
4147
```
4248

43-
## Develop
49+
## Docker
4450

4551
```bash
46-
git clone https://github.com/fsociety-team/fsociety.git
47-
pip install -e ".[dev]"
52+
docker pull fsocietyteam/fsociety
53+
docker run -it fsocietyteam/fsociety fsociety
4854
```
4955

50-
## Docker
56+
## Developing
5157

5258
```bash
53-
docker pull fsocietyteam/fsociety
54-
docker run -it fsocietyteam/fsociety fsociety
59+
git clone https://github.com/fsociety-team/fsociety.git
60+
pip install -e ".[dev]"
5561
```
5662

5763
## License
5864

5965
This software is licensed under the [MIT](https://github.com/fsociety-team/fsociety/blob/main/LICENSE) License.
6066

61-
[![Twitter Follow](https://img.shields.io/badge/fuck%20it-ship%20it-blue?style=flat-square)](https://twitter.com/fsociety_team) [![Twitter Follow](https://img.shields.io/twitter/follow/fsociety_team?color=blue&style=flat-square)](https://twitter.com/fsociety_team)
67+
![Fuck It Ship It](https://img.shields.io/badge/fuck%20it-ship%20it-blue?style=flat-square)

fsociety/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.2.7"
1+
__version__ = "3.2.8"

0 commit comments

Comments
 (0)