Skip to content

Commit 05742cb

Browse files
committed
Jenkinsfile, package/Dockerfile: add/install K deb file in Dockerfile
1 parent 8d83300 commit 05742cb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Jenkinsfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,11 @@ pipeline {
150150
dockerfile {
151151
dir 'package'
152152
filename 'Dockerfile.ubuntu-bionic'
153+
reuseNode true
153154
}
154155
}
155156
steps {
156157
sh '''
157-
curl --location --output k-nightly-bionic.deb "https://github.com/kframework/k/releases/download/nightly-$K_NIGHTLY/kframework_5.0.0_amd64_bionic.deb"
158-
pwd
159-
ls
160-
echo $USER
161-
apt install --yes ./k-nightly-bionic.deb
162158
cp -r package/debian ./
163159
dpkg-buildpackage --no-sign
164160
apt install --yes ../kevm_*.deb

package/Dockerfile.ubuntu-bionic

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ RUN apt update
1111
libssl-dev pandoc pkg-config protobuf-compiler
1212

1313
RUN curl -sSL https://get.haskellstack.org/ | sh -s - -f
14+
15+
ADD https://github.com/kframework/k/releases/download/nightly-$K_NIGHTLY/kframework_5.0.0_amd64_bionic.deb kframework_5.0.0_amd64_bionic.deb
16+
RUN apt install --yes kframework_5.0.0_amd64_bionic.deb

0 commit comments

Comments
 (0)