Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nexus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
guillaum.pin
nexus
Commits
3e7c2389
Commit
3e7c2389
authored
7 months ago
by
Florent Gluck
Browse files
Options
Downloads
Patches
Plain Diff
Fixed issue with newer go version
parent
51f43670
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
live_exam_os/Dockerfile
+10
-1
10 additions, 1 deletion
live_exam_os/Dockerfile
live_exam_os/build_live_exam_iso
+2
-1
2 additions, 1 deletion
live_exam_os/build_live_exam_iso
with
12 additions
and
2 deletions
live_exam_os/Dockerfile
+
10
−
1
View file @
3e7c2389
...
...
@@ -10,9 +10,18 @@ ARG cert
ARG
exam_user
ARG
exam_pwd
RUN
apt-get update
&&
apt-get
install
-y
gcc pkg-config git wget make ca-certificates libglfw3-dev libxcursor-dev libxinerama-dev libxi-dev libxxf86vm-dev upx-ucl
# Install go 1.22 from the official GO site
ENV
archive=go1.22.6.linux-amd64.tar.gz
ENV
PATH=$PATH:/usr/local/go/bin
WORKDIR
/go
RUN
wget https://go.dev/dl/
$archive
RUN
tar
-C
/usr/local
-xzf
$archive
# Compile nexus-exam
WORKDIR
/nexus
COPY
${base_dir} .
RUN
apt-get update
&&
apt-get
install
-y
golang-go make ca-certificates libglfw3-dev libxcursor-dev libxinerama-dev libxi-dev libxxf86vm-dev upx-ucl
RUN
make build_nexus-exam
SERVER
=
${
server_ip
}
:
${
server_port
}
CERT
=
${
cert
}
EXAM_USER
=
${
exam_user
}
EXAM_PWD
=
${
exam_pwd
}
#--------------------------------------------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
live_exam_os/build_live_exam_iso
+
2
−
1
View file @
3e7c2389
...
...
@@ -28,9 +28,10 @@ build_docker_image () {
mkdir
$dir
||
abort
# Copy pub certificate
cp
$CERT
$dir
||
abort
# Copy Makefile
and
sources files
# Copy Makefile
,
sources files
and git files (as we insert the git commit hash into nexus-exam)
cp
../Makefile
$dir
||
abort
cp
-r
../src
$dir
||
abort
cp
-r
../.git
$dir
||
abort
cert_file
=
`
basename
$CERT
`
# build context is ".." since we need access to the ../src directory in order to build nexus-exam
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment