Dev Docker image (How-To) (OD-111)
Michael Weimann opened 6 years ago

Another silly support request :)

@robin are there dev builds for Docker images?
If not what is the easiest way building one?
Once I know how to proceed I could add something to the dev docs.

The reason behind that is having an image for testing features.

  • Robin Shen commented 6 years ago

    Docker image is only built when releasing. However you may add a simple script to build one by referring to the release job:

    https://code.onedev.io/projects/onedev-server/blob/master/.onedev-buildspec?position=buildspec-jobs/Release

  • Michael Weimann commented 6 years ago

    @robin thanks. I am trying to use the existing build as a basis.

    Currently it crashes with this error

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile (default-compile) on project server-core: Compilation failure: Compilation failure: 
    [ERROR] /onedev/server-core/src/main/java/snippet/Snippet.java:[5,17] not a statement
    [ERROR] /onedev/server-core/src/main/java/snippet/Snippet.java:[5,36] ';' expected
    

    Do you have any idea?

  • Robin Shen commented 6 years ago

    There is no such file in OneDev. Looks like Eclipse created it automatically when you paste some code into the workspace.

  • Robin Shen changed state to 'Closed' 6 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Minor
Assignee
Issue Votes (0)
Watchers (2)
Reference
OD-111
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover