-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from jgaa/staging
Staging
- Loading branch information
Showing
21 changed files
with
492 additions
and
130 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
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,10 +1,10 @@ | ||
FROM ubuntu:21.04 | ||
FROM ubuntu:22.04 | ||
|
||
MAINTAINER Jarle Aase <[email protected]> | ||
|
||
RUN apt-get -q update \ | ||
apt-get -y -q --no-install-recommends upgrade &&\ | ||
apt-get -y -q install openssh-server g++ git gpgv \ | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -q update &&\ | ||
DEBIAN_FRONTEND="noninteractive" apt-get -y -q --no-install-recommends upgrade &&\ | ||
DEBIAN_FRONTEND="noninteractive" apt-get install -y -q openssh-server g++ git gpgv \ | ||
automake autoconf build-essential \ | ||
zlib1g-dev g++ cmake make libboost-all-dev libssl-dev \ | ||
default-jdk &&\ | ||
|
@@ -13,7 +13,8 @@ RUN apt-get -q update \ | |
|
||
# Set user jenkins to the image | ||
RUN useradd -m -d /home/jenkins -s /bin/sh jenkins &&\ | ||
echo "jenkins:jenkins" | chpasswd | ||
echo "jenkins:jenkins" | chpasswd &&\ | ||
mkdir -p /home/jenkins/build/workspace/restc-staging | ||
|
||
# Standard SSH port | ||
EXPOSE 22 | ||
|
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
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ else | |
exit -1 | ||
fi | ||
|
||
docker-compose stop | ||
docker-compose build | ||
docker-compose up -d | ||
docker ps | ||
|
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
Oops, something went wrong.