mirror of
https://github.com/nikdoof/docker-sthttpd.git
synced 2025-12-23 14:29:23 +00:00
Initial commit.
This commit is contained in:
13
buildpackage.sh
Normal file
13
buildpackage.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf /tmp/build /tmp/dist /tmp/*.gz
|
||||
apt-get update
|
||||
apt-get install -y build-essential automake curl
|
||||
curl ftp://opensource.dyc.edu/pub/sthttpd/sthttpd-2.26.3.tar.gz > /tmp/sthttpd.tar.gz
|
||||
mkdir -p /tmp/build /tmp/dist
|
||||
cd /tmp/build
|
||||
tar zxvf ../sthttpd.tar.gz
|
||||
cd /tmp/build/sthttpd*
|
||||
./configure
|
||||
addgroup --system thttpd
|
||||
make install
|
||||
Reference in New Issue
Block a user