[linux_dist/appimage] refactoring: removing 'BAUH_VERSION' envvar from the Dockerfile

This commit is contained in:
Vinicius Moreira
2023-12-13 10:09:06 -03:00
parent da5cbdce6f
commit 2cf996c297
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
FROM ubuntu:20.04
ARG bauh_commit
ENV BAUH_VERSION=$bauh_commit
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && \

View File

@@ -1,3 +1,5 @@
#!/bin/bash
docker build -t bauh-appimage --build-arg bauh_commit=$BAUH_COMMIT . && \
docker run --cap-add=SYS_ADMIN --device /dev/fuse --mount type=bind,source="$(pwd)",target=/build bauh-appimage
set -Ceufox pipefail
docker build -t bauh-appimage . && \
docker run -e BAUH_VERSION=$BAUH_VERSION --cap-add=SYS_ADMIN --device /dev/fuse --mount type=bind,source="$(pwd)",target=/build bauh-appimage