feat: add working docker files
the problem is that a simple wgetpaste pkg took 10 minutes (https://paste.jabuxas.xyz/4689814282.log) to compile. i have no idea whats wrong yet
This commit is contained in:
parent
a823069c22
commit
5343f236ed
@ -6,8 +6,8 @@ RUN echo /cports/packages/contrib >> /etc/apk/repositories.d/00-cports.list
|
||||
|
||||
RUN echo /cports/packages/main >> /etc/apk/repositories.d/00-cports.list
|
||||
|
||||
RUN apk upgrade && apk add base-cbuild-host shadow
|
||||
RUN apk upgrade && apk add base-cbuild-host shadow procps ca-certificates bash
|
||||
|
||||
RUN useradd user
|
||||
RUN useradd -s /bin/bash user
|
||||
|
||||
RUN mkdir /cports && chown -R user:user /cports
|
||||
|
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
||||
services:
|
||||
cports:
|
||||
build: .
|
||||
stdin_open: true
|
||||
tty: true
|
||||
user: user
|
||||
privileged: true
|
||||
volumes:
|
||||
- ${CPORTS_REPO}:/cports
|
4
generate_config.sh
Executable file
4
generate_config.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo "What is the path to your cports repo?"
|
||||
read repo_path
|
||||
echo "CPORTS_REPO=$repo_path" > .env
|
Loading…
Reference in New Issue
Block a user