Mount /home/tex in an anonymous volume
When we mount the container's root filesystem as read-only, mount an anonymous volume in /home/tex so that it's writable. Our TeX Live images have cached content in /home/tex. This content will automatically get copied by Docker into this anonymous volume.
This commit is contained in:
@@ -802,7 +802,7 @@ describe('DockerRunner', function () {
|
||||
(err) => {
|
||||
this.fakeContainer.remove.callCount.should.equal(1)
|
||||
this.fakeContainer.remove
|
||||
.calledWith({ force: true })
|
||||
.calledWithMatch({ force: true })
|
||||
.should.equal(true)
|
||||
return done()
|
||||
}
|
||||
@@ -816,7 +816,7 @@ describe('DockerRunner', function () {
|
||||
(err) => {
|
||||
this.fakeContainer.remove.callCount.should.equal(1)
|
||||
this.fakeContainer.remove
|
||||
.calledWith({ force: false })
|
||||
.calledWithMatch({ force: false })
|
||||
.should.equal(true)
|
||||
return done()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user