Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michel Roelofs
dt_ctrl
Commits
d8aab103
Commit
d8aab103
authored
May 09, 2021
by
Michel Roelofs
Browse files
Use my own docker builder
parent
d7b686d8
Pipeline
#59
failed with stage
in 2 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
d8aab103
...
...
@@ -10,15 +10,7 @@
# Start the docker container with
# docker run -it -p 8000:8000 consoledemo
# Then visit the consoledemo from the host machine at http://localhost:8000
FROM
debian:buster
AS
builder
RUN
apt-get
-y
update
RUN
apt-get
-y
install
vim autoconf make gcc libtool-bin libglib2.0-dev libbison-dev flex git cmake build-essential libssl-dev libmagic-dev wget libwebsockets-dev
RUN
mkdir
-p
/var/www/console/htdocs/tle
&&
cd
/var/www/console/htdocs/tle
&&
wget
"http://celestrak.com/NORAD/elements/amateur.txt"
-v
-O
amateur.txt
&&
wget
"http://celestrak.com/NORAD/elements/tle-new.txt"
-v
-O
tle-new.txt
&&
wget
"http://celestrak.com/NORAD/elements/gps-ops.txt"
-v
-O
gps-ops.txt
&&
cd
-
RUN
cd
/root
&&
git clone git://git.code.sf.net/p/libnova/libnova libnova-libnova
RUN
cd
/root/libnova-libnova
&&
git checkout 655bcd1
&&
libtoolize
&&
autoreconf
-i
&&
./configure
&&
make
install
FROM
gitlabregistry.camras.nl:5050/michel/runnertest:latest
AS
builder
RUN
cd
/root
&&
git clone https://gitlab.camras.nl/michel/dt_ctrl
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment