Skip to content

Commit

Permalink
lint: corrected the syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Faraz32123 committed Jun 14, 2023
1 parent ce188fa commit aca9206
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tutordiscovery/templates/discovery/build/discovery/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if is_buildkit_enabled() %}# syntax=docker/dockerfile:1.4{% endif %}
# {% if is_buildkit_enabled() %}syntax=docker/dockerfile:1.4{% endif %}
###### Minimal image with base system requirements for most stages
FROM docker.io/ubuntu:20.04 as minimal

Expand Down Expand Up @@ -65,8 +65,7 @@ RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/bowe
# instructions to benefit from docker image caching
# Install base requirements
RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install -r requirements.txt
{% for extra_requirement in DISCOVERY_EXTRA_PIP_REQUIREMENTS %}RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install '{{ extra_requirements }}'
{% endfor %}
RUN {% for extra_requirement in DISCOVERY_EXTRA_PIP_REQUIREMENTS %} {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install '{{ extra_requirements }}' {% endfor %}

# Install extra requirements
RUN {% if is_buildkit_enabled() %}--mount=type=cache,target=/openedx/.cache/pip,sharing=shared {% endif %}pip install \
Expand Down

0 comments on commit aca9206

Please sign in to comment.