Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Docker image for Python Behavior Driven Development Pipeline
FROM python:3.9-slim
FROM rofrano/nyu-devops-base:sp23

RUN apt-get update && apt-get install -y \
curl \
wget \
chromium-driver \
python3-selenium
RUN sudo apt-get update && \
sudo apt-get install -y chromium-driver python3-selenium

WORKDIR /app

Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PLATFORM ?= "linux/amd64,linux/arm64"

DOCKER_BUILDKIT = 1

all: build
all: init build

## help: Lists help on the commands
.PHONY: help
Expand All @@ -32,7 +32,8 @@ clean: ## Removes all dangling build cache
init: export DOCKER_BUILDKIT=1
init: ## Creates the buildx instance
$(info Initializing Builder...)
docker buildx create --use --name=qemu
-docker buildx create qemu
docker buildx use qemu
docker buildx inspect --bootstrap

.PHONY: build
Expand Down