mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 20:34:16 +02:00
[linux_dist/appimage] refactoring: removing 'BAUH_VERSION' envvar from the Dockerfile
This commit is contained in:
@@ -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 && \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user