Skip to content

Commit b55217a

Browse files
committed
alpine
1 parent 78f05d6 commit b55217a

File tree

5 files changed

+57
-0
lines changed

5 files changed

+57
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "Parallel Programming Course (Alpine)",
3+
"image": "ghcr.io/learning-process/ppc-alpine:1.0",
4+
"customizations": {
5+
"vscode": {
6+
"extensions": [
7+
"ms-vscode.cpptools-extension-pack",
8+
"ms-vscode.cmake-tools",
9+
"ms-python.python"
10+
],
11+
"settings": {
12+
"cmake.configureOnOpen": true,
13+
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
14+
}
15+
}
16+
},
17+
"postCreateCommand": "python3 -m pip install -r requirements.txt"
18+
}

docker/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ Changelog
88

99
### [1.0] - 2025-07-28
1010
- Initial Ubuntu-based image
11+
12+
## ppc-alpine
13+
14+
### [1.0] - 2025-12-17
15+
- Initial Alpine-based image (Alpine 3.23)

docker/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ Build multi-architecture Ubuntu 24.04 development image:
1111
```bash
1212
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/learning-process/ppc-ubuntu:latest -f ./ubuntu.Dockerfile .
1313
```
14+
15+
Build multi-architecture Alpine development image:
16+
17+
```bash
18+
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/learning-process/ppc-alpine:latest -f ./alpine.Dockerfile .
19+
```

docker/alpine.Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM alpine:3.23
2+
3+
RUN set -eux; \
4+
apk add --no-cache \
5+
bash \
6+
build-base \
7+
ca-certificates \
8+
ccache \
9+
clang \
10+
clang-extra-tools \
11+
cmake \
12+
curl \
13+
git \
14+
gnupg \
15+
lld \
16+
llvm \
17+
make \
18+
ninja \
19+
openmpi \
20+
openmpi-dev \
21+
python3 \
22+
py3-pip \
23+
valgrind \
24+
zip
25+
26+
ENV CC=gcc CXX=g++
27+
28+
CMD ["bash"]

0 commit comments

Comments
 (0)