Skip to content

Commit 1b408b2

Browse files
att
1 parent 31e5dc7 commit 1b408b2

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

build/debian_static_build.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@ Description: SUMARY
4141
image.provider = CONTANIZER
4242

4343
image.start({
44-
flags = { "-it" },
4544
volumes = {
4645
{ "./.cache/debian_static_build/project", "/project" },
4746
{ "./release", "/release" },
4847

4948
},
50-
command = "chmod 755 /project/DEBIAN/postinst && dpkg-deb --build /project /release/vibescript.deb"
49+
command = "chmod 755 /project/DEBIAN && chmod 755 /project/DEBIAN/postinst && dpkg-deb --build /project /release/vibescript.deb"
5150
})
5251
end
5352

build/rpm_static_build.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,12 @@ chmod +x %{buildroot}/usr/local/bin/PROJECT_NAME
5555
darwin.dtw.write_file(".cache/rpm_static_build/SPECS/project.spec", formmatted_rpm)
5656
os.execute("mkdir -p .cache/rpm_static_build/RPMS")
5757

58-
local image = darwin.ship.create_machine("almalinux:latest")
58+
local image = darwin.ship.create_machine("fedora:latest")
5959
image.provider = CONTANIZER
6060
image.add_comptime_command("dnf install rpm-build rpmdevtools -y")
6161
image.add_comptime_command("dnf install gcc -y")
6262
image.add_comptime_command("rpmdev-setuptree")
6363
image.start({
64-
flags = {
65-
"-it "
66-
},
6764
volumes = {
6865
{ "./.cache/rpm_static_build/SOURCES", "/root/rpmbuild/SOURCES" },
6966
{ "./.cache/rpm_static_build/SPECS", "/root/rpmbuild/SPECS" },

darwinconf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT_NAME = "vibescript"
2-
CONTANIZER = darwin.argv.get_flag_arg_by_index({ "contanizer", }, 1,"podman" )
2+
CONTANIZER = darwin.argv.get_flag_arg_by_index({ "contanizer", }, 1,"docker" )
33
VERSION = "0.0.1"
44
LICENSE = "MIT"
55
URL = "https://github.com/OUIsolutions/VibeScript"

0 commit comments

Comments
 (0)