Skip to content

Commit

Permalink
build new image version
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Feb 18, 2025
1 parent 462c3b7 commit 4ab5aa7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/opencv-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build OpenCV Docker Image
on:
workflow_dispatch:
push:
paths:
- 'docker/opencv.Dockerfile'
branches:
- master
# paths:
# - 'docker/opencv.Dockerfile'
# branches:
# - master

jobs:
build-and-push:
Expand Down
6 changes: 2 additions & 4 deletions docker/opencv.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM ghcr.io/actions/actions-runner:latest
FROM ghcr.io/catthehacker/ubuntu:full-22.04

USER root
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
Expand All @@ -20,8 +19,7 @@ RUN apt-get update && apt-get install -y \
unzip \
wget \
cmake \
g++ \
&& rm -rf /var/lib/apt/lists/*
g++

WORKDIR /tmp

Expand Down

0 comments on commit 4ab5aa7

Please sign in to comment.