-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Build's Dockerfile is updated
- Loading branch information
Showing
8 changed files
with
30 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM ubuntu:22.04 | ||
# Set env | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
# The build enviroment for Squick | ||
RUN apt update | ||
RUN apt-get install -y git cmake make g++ | ||
RUN apt-get install -y libtool libreadline-dev libncurses-dev pkg-config libssl-dev | ||
RUN apt-get install -y python3 | ||
|
||
# Build Squick c++ source code | ||
RUN cd ~ && git clone https://github.com/pwnsky/squick.git | ||
|
||
WORKDIR ~/squick | ||
RUN cd tools && chmod +x *.sh | ||
RUN cd tools && ./build_third_party.sh && ./build_sqkctl.sh && ./build_squick.sh | ||
RUN ./generate_deploy.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
FROM ubuntu:20.04 | ||
FROM ubuntu:22.04 | ||
# Set env | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
# The build enviroment for Squick | ||
RUN apt update && apt-get install -y git cmake unzip automake make g++ libtool libreadline6-dev libncurses5-dev pkg-config libssl-dev nodejs npm | ||
RUN apt update && apt-get install -y git cmake unzip automake make g++ libtool libreadline-dev libncurses-dev pkg-config libssl-dev python3 | ||
|
||
# Build Squick c++ source code | ||
RUN cd ~ && git clone https://github.com/i0gan/Squick.git | ||
RUN cd ~/Squick && chmod +x build.sh && chmod +x third_party/build.sh | ||
RUN cd ~/Squick/third_party && bash ./build.sh | ||
RUN cd ~/Squick/ && bash ./build.sh | ||
|
||
# Build www javascript source code | ||
|
||
RUN cd ~/Squick/www/admin && git config --global url."https://".insteadOf git:// && npm install | ||
RUN cd ~/Squick/www/admin && bash ./build.sh | ||
|
||
# Build www c++ source code |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:20.04 | ||
FROM ubuntu:22.04 | ||
# Set env | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
|
Empty file.